#ifndef _COM_SUN_STAR_UTIL_SEARCHRESULT_HPP_
#define _COM_SUN_STAR_UTIL_SEARCHRESULT_HPP_

#ifndef _COM_SUN_STAR_UTIL_SEARCHRESULT_HDL_
#include <com/sun/star/util/SearchResult.hdl>
#endif

#ifndef _OSL_MUTEX_HXX_
#include <osl/mutex.hxx>
#endif

#ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
#include <com/sun/star/uno/Type.hxx>
#endif

#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
#include <com/sun/star/uno/Sequence.hxx>
#endif

namespace com
{
namespace sun
{
namespace star
{
namespace util
{

inline SearchResult::SearchResult() SAL_THROW( () )
    : subRegExpressions((sal_Int32)0)
    , startOffset()
    , endOffset()
{
}

inline SearchResult::SearchResult(const sal_Int32& __subRegExpressions, const ::com::sun::star::uno::Sequence< sal_Int32 >& __startOffset, const ::com::sun::star::uno::Sequence< sal_Int32 >& __endOffset) SAL_THROW( () )
    : subRegExpressions(__subRegExpressions)
    , startOffset(__startOffset)
    , endOffset(__endOffset)
{
}

} // util
} // star
} // sun
} // com

#if (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
static typelib_TypeDescriptionReference * s_pType_com_sun_star_util_SearchResult = 0;
#endif

inline const ::com::sun::star::uno::Type& SAL_CALL getCppuType( const ::com::sun::star::util::SearchResult* ) SAL_THROW( () )
{
    #if ! (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
    static typelib_TypeDescriptionReference * s_pType_com_sun_star_util_SearchResult = 0;
    #endif

    if ( !s_pType_com_sun_star_util_SearchResult )
    {
        typelib_static_type_init( &s_pType_com_sun_star_util_SearchResult, typelib_TypeClass_STRUCT, "com.sun.star.util.SearchResult" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_util_SearchResult );
}

#endif // _COM_SUN_STAR_UTIL_SEARCHRESULT_HPP_
