summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/spritecanvas.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-12-13 13:48:53 +0000
committerKurt Zenker <kz@openoffice.org>2006-12-13 13:48:53 +0000
commitc1a79d861a281c3af8a61f9fbac4661a14091a72 (patch)
tree0a6c85c192579849916b3388ea05607d3840add8 /canvas/source/vcl/spritecanvas.hxx
parentd1ebdd0ed91622fcb73e9e665d8e2b7ad8e33bac (diff)
INTEGRATION: CWS presfixes09 (1.9.32); FILE MERGED
2006/10/20 11:40:40 thb 1.9.32.5: #i10000# Removed post-merge compiler warnings; removed spurious semicolon after macro 2006/04/25 12:53:54 thb 1.9.32.4: #i63943# Handling probe construction special 2006/03/08 18:00:04 thb 1.9.32.3: #i49357# Now also providing the C lib entry points again 2006/03/07 15:08:03 thb 1.9.32.2: #i49357# Adapted to recent XWindow vs. XWindowListener changes; using dbo's new ServiceDecl goodness 2006/03/06 22:49:01 thb 1.9.32.1: #i49357# Reworked canvas/window association (canvas is now window-listener, and exposes the associated window via a property)
Diffstat (limited to 'canvas/source/vcl/spritecanvas.hxx')
-rw-r--r--canvas/source/vcl/spritecanvas.hxx39
1 files changed, 16 insertions, 23 deletions
diff --git a/canvas/source/vcl/spritecanvas.hxx b/canvas/source/vcl/spritecanvas.hxx
index 92b0b8982601..03593fea5321 100644
--- a/canvas/source/vcl/spritecanvas.hxx
+++ b/canvas/source/vcl/spritecanvas.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: spritecanvas.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: kz $ $Date: 2005-11-02 13:04:27 $
+ * last change: $Author: kz $ $Date: 2006-12-13 14:48:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -40,10 +40,8 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceName.hpp>
-#include <com/sun/star/awt/XWindow.hpp>
+#include <com/sun/star/awt/XWindowListener.hpp>
#include <com/sun/star/util/XUpdatable.hpp>
#include <com/sun/star/rendering/XSpriteCanvas.hpp>
#include <com/sun/star/rendering/XIntegerBitmap.hpp>
@@ -52,7 +50,7 @@
#include <com/sun/star/rendering/XColorSpace.hpp>
#include <com/sun/star/rendering/XParametricPolyPolygon2DFactory.hpp>
-#include <cppuhelper/compbase12.hxx>
+#include <cppuhelper/compbase10.hxx>
#include <comphelper/uno3.hxx>
#include <canvas/base/spritecanvasbase.hxx>
@@ -67,17 +65,15 @@
namespace vclcanvas
{
- typedef ::cppu::WeakComponentImplHelper12< ::com::sun::star::rendering::XSpriteCanvas,
+ typedef ::cppu::WeakComponentImplHelper10< ::com::sun::star::rendering::XSpriteCanvas,
::com::sun::star::rendering::XIntegerBitmap,
::com::sun::star::rendering::XGraphicDevice,
::com::sun::star::rendering::XParametricPolyPolygon2DFactory,
::com::sun::star::rendering::XBufferController,
::com::sun::star::rendering::XColorSpace,
- ::com::sun::star::awt::XWindow,
+ ::com::sun::star::awt::XWindowListener,
::com::sun::star::util::XUpdatable,
::com::sun::star::beans::XPropertySet,
- ::com::sun::star::lang::XInitialization,
- ::com::sun::star::lang::XServiceInfo,
::com::sun::star::lang::XServiceName > WindowGraphicDeviceBase_Base;
typedef ::canvas::WindowGraphicDeviceBase< ::canvas::BaseMutexHelper< WindowGraphicDeviceBase_Base >,
DeviceHelper,
@@ -123,12 +119,20 @@ namespace vclcanvas
public RepaintTarget
{
public:
- SpriteCanvas( const ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XComponentContext >& rxContext );
+ SpriteCanvas( const ::com::sun::star::uno::Sequence<
+ ::com::sun::star::uno::Any >& aArguments,
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::uno::XComponentContext >& rxContext );
+
+ void initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments );
/// For resource tracking
~SpriteCanvas();
+#if defined __SUNPRO_CC
+ using SpriteCanvasBaseT::disposing;
+#endif
+
/// Dispose all internal references
virtual void SAL_CALL disposing();
@@ -146,20 +150,9 @@ namespace vclcanvas
// XSpriteCanvas (partial)
virtual sal_Bool SAL_CALL updateScreen( sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException);
- // XInitialization
- virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw( ::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException);
- // XServiceInfo
- virtual ::rtl::OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException );
- virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw( ::com::sun::star::uno::RuntimeException );
- virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException );
-
// XServiceName
virtual ::rtl::OUString SAL_CALL getServiceName( ) throw (::com::sun::star::uno::RuntimeException);
- // component factory
- static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) throw ( ::com::sun::star::uno::Exception );
-
// RepaintTarget
virtual bool repaint( const GraphicObjectSharedPtr& rGrf,
const ::Point& rPt,