LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/awt - XDevice.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-12-17 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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        8392 : class SAL_NO_VTABLE XDevice : public css::uno::XInterface
      25             : {
      26             : public:
      27             : 
      28             :     // Methods
      29             :     virtual ::com::sun::star::uno::Reference< css::awt::XGraphics > SAL_CALL createGraphics() = 0;
      30             :     virtual ::com::sun::star::uno::Reference< css::awt::XDevice > SAL_CALL createDevice( ::sal_Int32 nWidth, ::sal_Int32 nHeight ) = 0;
      31             :     virtual css::awt::DeviceInfo SAL_CALL getInfo() = 0;
      32             :     virtual ::com::sun::star::uno::Sequence< css::awt::FontDescriptor > SAL_CALL getFontDescriptors() = 0;
      33             :     virtual ::com::sun::star::uno::Reference< css::awt::XFont > SAL_CALL getFont( const css::awt::FontDescriptor& aDescriptor ) = 0;
      34             :     virtual ::com::sun::star::uno::Reference< css::awt::XBitmap > SAL_CALL createBitmap( ::sal_Int32 nX, ::sal_Int32 nY, ::sal_Int32 nWidth, ::sal_Int32 nHeight ) = 0;
      35             :     virtual ::com::sun::star::uno::Reference< css::awt::XDisplayBitmap > SAL_CALL createDisplayBitmap( const ::com::sun::star::uno::Reference< css::awt::XBitmap >& Bitmap ) = 0;
      36             : 
      37             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      38             : 
      39             : protected:
      40        1500 :     ~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 css::awt::XDevice const *);
      45             : } } } }
      46             : 
      47             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::awt::XDevice > *) SAL_THROW(());
      48             : 
      49             : #endif

Generated by: LCOV version 1.10