summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-28 21:41:13 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-29 00:04:23 -0500
commitffca779f3765f730cc9f4f416b728ecdf762931c (patch)
treebc38fab4cd9d3ccc2bd27f6fe78a25450b85accb /sc/inc
parent654d9eb40c4232c180b5f88ed2774cb9c9bb18c1 (diff)
Create an UNO controller object for the preview shell.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/viewuno.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index 9b4e276465cd..2c129f8368fe 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -52,6 +52,7 @@
#include "address.hxx"
class ScTabViewShell;
+class ScPreviewShell;
#define SC_VIEWPANE_ACTIVE 0xFFFF
@@ -399,6 +400,15 @@ public:
virtual void SAL_CALL insertTransferable( const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& xTrans ) throw (::com::sun::star::datatransfer::UnsupportedFlavorException, ::com::sun::star::uno::RuntimeException);
};
+class ScPreviewObj : public SfxBaseController, SfxListener
+{
+ ScPreviewShell* mpViewShell;
+public:
+ ScPreviewObj(ScPreviewShell* pViewSh);
+ virtual ~ScPreviewObj();
+
+ virtual void Notify(SfxBroadcaster&, const SfxHint& rHint);
+};
#endif