#ifndef _COM_SUN_STAR_AWT_XGRAPHICS_HPP_
#define _COM_SUN_STAR_AWT_XGRAPHICS_HPP_

#ifndef _SAL_CONFIG_H_
#include "sal/config.h"
#endif

#ifndef _COM_SUN_STAR_AWT_XGRAPHICS_HDL_
#include "com/sun/star/awt/XGraphics.hdl"
#endif

#ifndef _COM_SUN_STAR_UTIL_COLOR_HPP_
#include "com/sun/star/util/Color.hpp"
#endif
#ifndef _COM_SUN_STAR_AWT_XDISPLAYBITMAP_HPP_
#include "com/sun/star/awt/XDisplayBitmap.hpp"
#endif
#ifndef _COM_SUN_STAR_AWT_FONTDESCRIPTOR_HPP_
#include "com/sun/star/awt/FontDescriptor.hpp"
#endif
#ifndef _COM_SUN_STAR_AWT_XDEVICE_HPP_
#include "com/sun/star/awt/XDevice.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_
#include "com/sun/star/uno/RuntimeException.hpp"
#endif
#ifndef _COM_SUN_STAR_AWT_XFONT_HPP_
#include "com/sun/star/awt/XFont.hpp"
#endif
#ifndef _COM_SUN_STAR_AWT_XREGION_HPP_
#include "com/sun/star/awt/XRegion.hpp"
#endif
#ifndef _COM_SUN_STAR_AWT_GRADIENT_HPP_
#include "com/sun/star/awt/Gradient.hpp"
#endif
#ifndef _COM_SUN_STAR_AWT_RASTEROPERATION_HPP_
#include "com/sun/star/awt/RasterOperation.hpp"
#endif
#ifndef _COM_SUN_STAR_AWT_SIMPLEFONTMETRIC_HPP_
#include "com/sun/star/awt/SimpleFontMetric.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_XINTERFACE_HPP_
#include "com/sun/star/uno/XInterface.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
#include "com/sun/star/uno/Reference.hxx"
#endif
#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
#include "com/sun/star/uno/Sequence.hxx"
#endif
#ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
#include "com/sun/star/uno/Type.hxx"
#endif
#ifndef INCLUDED_CPPU_UNOTYPE_HXX
#include "cppu/unotype.hxx"
#endif
#ifndef _OSL_MUTEX_HXX_
#include "osl/mutex.hxx"
#endif
#ifndef _RTL_USTRING_HXX_
#include "rtl/ustring.hxx"
#endif
#ifndef _SAL_TYPES_H_
#include "sal/types.h"
#endif

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

inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(::com::sun::star::awt::XGraphics const *) {
    static typelib_TypeDescriptionReference * the_type = 0;
    if ( !the_type )
    {
        typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.awt.XGraphics" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
};

} } } }

inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > const *) SAL_THROW(()) {
    return ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > >::get();
}

::com::sun::star::uno::Type const & ::com::sun::star::awt::XGraphics::static_type(void *) {
    return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > * >(0));
}

#endif // _COM_SUN_STAR_AWT_XGRAPHICS_HPP_
