#ifndef _COM_SUN_STAR_I18N_CALENDAR_HPP_
#define _COM_SUN_STAR_I18N_CALENDAR_HPP_

#ifndef _COM_SUN_STAR_I18N_CALENDAR_HDL_
#include <com/sun/star/i18n/Calendar.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
#ifndef _COM_SUN_STAR_I18N_CALENDARITEM_HPP_
#include <com/sun/star/i18n/CalendarItem.hpp>
#endif

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

inline Calendar::Calendar() SAL_THROW( () )
    : Days()
    , Months()
    , Eras()
    , StartOfWeek()
    , MinimumNumberOfDaysForFirstWeek((sal_Int16)0)
    , Default(sal_False)
    , Name()
{
}

inline Calendar::Calendar(const ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem >& __Days, const ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem >& __Months, const ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem >& __Eras, const ::rtl::OUString& __StartOfWeek, const sal_Int16& __MinimumNumberOfDaysForFirstWeek, const sal_Bool& __Default, const ::rtl::OUString& __Name) SAL_THROW( () )
    : Days(__Days)
    , Months(__Months)
    , Eras(__Eras)
    , StartOfWeek(__StartOfWeek)
    , MinimumNumberOfDaysForFirstWeek(__MinimumNumberOfDaysForFirstWeek)
    , Default(__Default)
    , Name(__Name)
{
}

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

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

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

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

#endif // _COM_SUN_STAR_I18N_CALENDAR_HPP_
