summaryrefslogtreecommitdiff
path: root/sd/inc/cusshow.hxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-01-15 13:26:48 +0000
committerChristian Lippka <cl@openoffice.org>2001-01-15 13:26:48 +0000
commitefdc741906d93ee4f529b3cb17707c9b1c2d55ce (patch)
treec88b6431d2c9bc72c78f38922da525edd40fa89a /sd/inc/cusshow.hxx
parent25ff9bd34e1575213bebfa052f6e8013f0f9bc74 (diff)
#82097# SdXCustomPresentation is now an XComponent
Diffstat (limited to 'sd/inc/cusshow.hxx')
-rw-r--r--sd/inc/cusshow.hxx18
1 files changed, 13 insertions, 5 deletions
diff --git a/sd/inc/cusshow.hxx b/sd/inc/cusshow.hxx
index 6484699ca2c8..4e07121ee6e1 100644
--- a/sd/inc/cusshow.hxx
+++ b/sd/inc/cusshow.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cusshow.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:27 $
+ * last change: $Author: cl $ $Date: 2001-01-15 14:23:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,6 +74,10 @@
#include <tools/string.hxx>
#endif
+#ifndef _CPPUHELPER_WEAKREF_HXX_
+#include <cppuhelper/weakref.hxx>
+#endif
+
class SdDrawDocument;
@@ -89,8 +93,13 @@ private:
String aName;
SdDrawDocument* pDoc;
+ // this is a weak reference to a possible living api wrapper for this custom show
+ ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface > mxUnoCustomShow;
+
public:
SdCustomShow(SdDrawDocument* pDrawDoc);
+ SdCustomShow(SdDrawDocument* pDrawDoc, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xShow );
+
SdCustomShow( const SdCustomShow& rShow );
virtual ~SdCustomShow();
@@ -101,10 +110,9 @@ public:
friend SvStream& operator << (SvStream& rOut, const SdCustomShow& rCustomShow);
friend SvStream& operator >> (SvStream& rIn, SdCustomShow& rCustomShow);
-};
-
-
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getUnoCustomShow();
+};
#endif // _SD_CUSSHOW_HXX