Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_XSPRITECANVAS_HDL
2 : #define INCLUDED_COM_SUN_STAR_RENDERING_XSPRITECANVAS_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/geometry/RealSize2D.hdl"
7 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
8 : #include "com/sun/star/rendering/VolatileContentDestroyedException.hdl"
9 : namespace com { namespace sun { namespace star { namespace rendering { class XAnimatedSprite; } } } }
10 : namespace com { namespace sun { namespace star { namespace rendering { class XAnimation; } } } }
11 : namespace com { namespace sun { namespace star { namespace rendering { class XBitmap; } } } }
12 : #include "com/sun/star/rendering/XBitmapCanvas.hdl"
13 : namespace com { namespace sun { namespace star { namespace rendering { class XCustomSprite; } } } }
14 : namespace com { namespace sun { namespace star { namespace rendering { class XSprite; } } } }
15 : #include "com/sun/star/uno/RuntimeException.hdl"
16 : #include "com/sun/star/uno/Reference.h"
17 : #include "com/sun/star/uno/Sequence.h"
18 : #include "cppu/macros.hxx"
19 : #include "sal/types.h"
20 :
21 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
22 :
23 : namespace com { namespace sun { namespace star { namespace rendering {
24 :
25 0 : class SAL_NO_VTABLE XSpriteCanvas : public css::rendering::XBitmapCanvas
26 : {
27 : public:
28 :
29 : // Methods
30 : virtual ::com::sun::star::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL createSpriteFromAnimation( const ::com::sun::star::uno::Reference< css::rendering::XAnimation >& animation ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::com::sun::star::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL createSpriteFromBitmaps( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::rendering::XBitmap > >& animationBitmaps, ::sal_Int8 interpolationMode ) /* throw (css::lang::IllegalArgumentException, css::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::com::sun::star::uno::Reference< css::rendering::XCustomSprite > SAL_CALL createCustomSprite( const css::geometry::RealSize2D& spriteSize ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Reference< css::rendering::XSprite > SAL_CALL createClonedSprite( const ::com::sun::star::uno::Reference< css::rendering::XSprite >& original ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::sal_Bool SAL_CALL updateScreen( ::sal_Bool bUpdateAll ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 :
36 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 :
38 : protected:
39 0 : ~XSpriteCanvas() throw () {} // avoid warnings about virtual members and non-virtual dtor
40 : };
41 :
42 :
43 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::XSpriteCanvas const *);
44 : } } } }
45 :
46 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::rendering::XSpriteCanvas > *) SAL_THROW(());
47 :
48 : #endif
|