diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-28 21:41:13 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-29 00:04:23 -0500 |
commit | ffca779f3765f730cc9f4f416b728ecdf762931c (patch) | |
tree | bc38fab4cd9d3ccc2bd27f6fe78a25450b85accb /sc/inc | |
parent | 654d9eb40c4232c180b5f88ed2774cb9c9bb18c1 (diff) |
Create an UNO controller object for the preview shell.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/viewuno.hxx | 10 |
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 |