Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_AWT_XDEVICE_HDL
2 : : #define INCLUDED_COM_SUN_STAR_AWT_XDEVICE_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : namespace com { namespace sun { namespace star { namespace awt { class XBitmap; } } } }
8 : : #include "com/sun/star/awt/FontDescriptor.hdl"
9 : : namespace com { namespace sun { namespace star { namespace awt { class XDisplayBitmap; } } } }
10 : : #include "com/sun/star/awt/DeviceInfo.hdl"
11 : : namespace com { namespace sun { namespace star { namespace awt { class XDevice; } } } }
12 : : namespace com { namespace sun { namespace star { namespace awt { class XFont; } } } }
13 : : namespace com { namespace sun { namespace star { namespace awt { class XGraphics; } } } }
14 : : #include "com/sun/star/uno/XInterface.hdl"
15 : : #include "com/sun/star/uno/Reference.h"
16 : : #include "com/sun/star/uno/Sequence.h"
17 : : #include "cppu/macros.hxx"
18 : : #include "sal/types.h"
19 : :
20 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 : :
22 : : namespace com { namespace sun { namespace star { namespace awt {
23 : :
24 : 40400 : class SAL_NO_VTABLE XDevice : public ::com::sun::star::uno::XInterface
25 : : {
26 : : public:
27 : :
28 : : // Methods
29 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > SAL_CALL createGraphics( ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDevice > SAL_CALL createDevice( ::sal_Int32 nWidth, ::sal_Int32 nHeight ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::awt::DeviceInfo SAL_CALL getInfo( ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::awt::FontDescriptor > SAL_CALL getFontDescriptors( ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont > SAL_CALL getFont( const ::com::sun::star::awt::FontDescriptor& aDescriptor ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XBitmap > SAL_CALL createBitmap( ::sal_Int32 nX, ::sal_Int32 nY, ::sal_Int32 nWidth, ::sal_Int32 nHeight ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDisplayBitmap > SAL_CALL createDisplayBitmap( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XBitmap >& Bitmap ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : :
37 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
38 : :
39 : : protected:
40 : 37956 : ~XDevice() throw () {} // avoid warnings about virtual members and non-virtual dtor
41 : : };
42 : :
43 : :
44 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::awt::XDevice const *);
45 : : } } } }
46 : :
47 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDevice > *) SAL_THROW(());
48 : :
49 : : #endif
|