summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-04 13:04:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-05 08:24:39 +0000
commitb9854c60c6d481662cc1ac56d038d2c5c7124260 (patch)
tree37c1f0022783cf2abf19a505c98f31394de25bd4 /ucb/source/ucp/tdoc/tdoc_docmgr.hxx
parentadd9a35ba687f8c55a6ebba3a56e50c779321984 (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.hxx15
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;
};