#ifndef _COM_SUN_STAR_I18N_CURRENCY_HPP_
#define _COM_SUN_STAR_I18N_CURRENCY_HPP_

#ifndef _COM_SUN_STAR_I18N_CURRENCY_HDL_
#include <com/sun/star/i18n/Currency.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


namespace com
{
namespace sun
{
namespace star
{
namespace i18n
{

inline Currency::Currency() SAL_THROW( () )
    : ID()
    , Symbol()
    , BankSymbol()
    , Name()
    , Default(sal_False)
    , UsedInCompatibleFormatCodes(sal_False)
    , DecimalPlaces((sal_Int16)0)
{
}

inline Currency::Currency(const ::rtl::OUString& __ID, const ::rtl::OUString& __Symbol, const ::rtl::OUString& __BankSymbol, const ::rtl::OUString& __Name, const sal_Bool& __Default, const sal_Bool& __UsedInCompatibleFormatCodes, const sal_Int16& __DecimalPlaces) SAL_THROW( () )
    : ID(__ID)
    , Symbol(__Symbol)
    , BankSymbol(__BankSymbol)
    , Name(__Name)
    , Default(__Default)
    , UsedInCompatibleFormatCodes(__UsedInCompatibleFormatCodes)
    , DecimalPlaces(__DecimalPlaces)
{
}

} // i18n
} // star
} // sun
} // com

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

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

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

#endif // _COM_SUN_STAR_I18N_CURRENCY_HPP_
