#ifndef _COM_SUN_STAR_AWT_WINDOWEVENT_HPP_
#define _COM_SUN_STAR_AWT_WINDOWEVENT_HPP_

#ifndef _COM_SUN_STAR_AWT_WINDOWEVENT_HDL_
#include <com/sun/star/awt/WindowEvent.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_LANG_EVENTOBJECT_HPP_
#include <com/sun/star/lang/EventObject.hpp>
#endif

namespace com
{
namespace sun
{
namespace star
{
namespace awt
{

inline WindowEvent::WindowEvent() SAL_THROW( () )
    : ::com::sun::star::lang::EventObject()
    , X((sal_Int32)0)
    , Y((sal_Int32)0)
    , Width((sal_Int32)0)
    , Height((sal_Int32)0)
    , LeftInset((sal_Int32)0)
    , TopInset((sal_Int32)0)
    , RightInset((sal_Int32)0)
    , BottomInset((sal_Int32)0)
{
}

inline WindowEvent::WindowEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int32& __X, const sal_Int32& __Y, const sal_Int32& __Width, const sal_Int32& __Height, const sal_Int32& __LeftInset, const sal_Int32& __TopInset, const sal_Int32& __RightInset, const sal_Int32& __BottomInset) SAL_THROW( () )
    : ::com::sun::star::lang::EventObject(__Source)
    , X(__X)
    , Y(__Y)
    , Width(__Width)
    , Height(__Height)
    , LeftInset(__LeftInset)
    , TopInset(__TopInset)
    , RightInset(__RightInset)
    , BottomInset(__BottomInset)
{
}

} // awt
} // star
} // sun
} // com

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

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

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

#endif // _COM_SUN_STAR_AWT_WINDOWEVENT_HPP_
