diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-04 13:04:55 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-05 08:24:39 +0000 |
commit | b9854c60c6d481662cc1ac56d038d2c5c7124260 (patch) | |
tree | 37c1f0022783cf2abf19a505c98f31394de25bd4 /ucb/source/ucp/tdoc/tdoc_docmgr.hxx | |
parent | add9a35ba687f8c55a6ebba3a56e50c779321984 (diff) |
merge tdoc_ucp::OfficeDocumentsEventListener with
tdoc_ucp::ContentProvider
Change-Id: I4c743ce3d61d048ae9cf762462d9042337cd9d47
Reviewed-on: https://gerrit.libreoffice.org/26903
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_docmgr.hxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_docmgr.hxx | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx index 72717e22817b..a98411cf25ab 100644 --- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx +++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx @@ -36,16 +36,7 @@ namespace tdoc_ucp { - class OfficeDocumentsEventListener - { - public: - virtual void notifyDocumentOpened( const OUString & rDocId ) = 0; - virtual void notifyDocumentClosed( const OUString & rDocId ) = 0; - - protected: - ~OfficeDocumentsEventListener() {} - }; - + class ContentProvider; struct StorageInfo { @@ -111,7 +102,7 @@ namespace tdoc_ucp { public: OfficeDocumentsManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext, - OfficeDocumentsEventListener * pDocEventListener ); + ContentProvider * pDocEventListener ); virtual ~OfficeDocumentsManager(); void destroy(); @@ -166,7 +157,7 @@ namespace tdoc_ucp { css::uno::Reference< css::frame::XGlobalEventBroadcaster > m_xDocEvtNotifier; css::uno::Reference< css::frame::XModuleManager2 > m_xModuleMgr; DocumentList m_aDocs; - OfficeDocumentsEventListener * m_pDocEventListener; + ContentProvider * m_pDocEventListener; ::rtl::Reference<OfficeDocumentsCloseListener> m_xDocCloseListener; }; |