#ifndef _COM_SUN_STAR_DRAWING_LINEDASH_HPP_
#define _COM_SUN_STAR_DRAWING_LINEDASH_HPP_

#ifndef _COM_SUN_STAR_DRAWING_LINEDASH_HDL_
#include <com/sun/star/drawing/LineDash.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_DRAWING_DASHSTYLE_HPP_
#include <com/sun/star/drawing/DashStyle.hpp>
#endif

namespace com
{
namespace sun
{
namespace star
{
namespace drawing
{

inline LineDash::LineDash() SAL_THROW( () )
    : Style(::com::sun::star::drawing::DashStyle_RECT)
    , Dots((sal_Int16)0)
    , DotLen((sal_Int32)0)
    , Dashes((sal_Int16)0)
    , DashLen((sal_Int32)0)
    , Distance((sal_Int32)0)
{
}

inline LineDash::LineDash(const ::com::sun::star::drawing::DashStyle& __Style, const sal_Int16& __Dots, const sal_Int32& __DotLen, const sal_Int16& __Dashes, const sal_Int32& __DashLen, const sal_Int32& __Distance) SAL_THROW( () )
    : Style(__Style)
    , Dots(__Dots)
    , DotLen(__DotLen)
    , Dashes(__Dashes)
    , DashLen(__DashLen)
    , Distance(__Distance)
{
}

} // drawing
} // star
} // sun
} // com

#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))
static typelib_TypeDescriptionReference * s_pType_com_sun_star_drawing_LineDash = 0;
#endif

inline const ::com::sun::star::uno::Type& SAL_CALL getCppuType( const ::com::sun::star::drawing::LineDash* ) SAL_THROW( () )
{
    #if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))
    static typelib_TypeDescriptionReference * s_pType_com_sun_star_drawing_LineDash = 0;
    #endif

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

#endif // _COM_SUN_STAR_DRAWING_LINEDASH_HPP_
