summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-06-11 11:32:52 +0000
committerKurt Zenker <kz@openoffice.org>2004-06-11 11:32:52 +0000
commit4c65fbdc2f75ec1679d24f1278f1d29a50ffb266 (patch)
tree35844fe3254b38ba5cb525fb1b1d133f0a338f64 /ucb/source
parent61aad5ba0215a05465db89e8570a6ae97793d278 (diff)
INTEGRATION: CWS unopkg2 (1.2.2); FILE MERGED
2004/04/23 12:03:02 kso 1.2.2.1: #116500# - Fixed/completed content event notification. Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.hxx11
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.hxx9
2 files changed, 11 insertions, 9 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
index d2cfb1edea53..fc6070640dde 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tdoc_docmgr.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2004-04-14 13:41:46 $
+ * last change: $Author: kz $ $Date: 2004-06-11 12:32:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,9 +76,10 @@
namespace tdoc_ucp {
- class OfficeDocumentsCloseListener
+ class OfficeDocumentsEventListener
{
public:
+ virtual void notifyDocumentOpened( const rtl::OUString & rDocId ) = 0;
virtual void notifyDocumentClosed( const rtl::OUString & rDocId ) = 0;
};
@@ -125,7 +126,7 @@ namespace tdoc_ucp {
OfficeDocumentsManager(
const com::sun::star::uno::Reference<
com::sun::star::lang::XMultiServiceFactory > & xSMgr,
- OfficeDocumentsCloseListener * pCloseListener );
+ OfficeDocumentsEventListener * pDocEventListener );
virtual ~OfficeDocumentsManager();
void destroy();
@@ -178,7 +179,7 @@ namespace tdoc_ucp {
com::sun::star::uno::Reference<
drafts::com::sun::star::frame::XModuleManager > m_xModuleMgr;
DocumentList m_aDocs;
- OfficeDocumentsCloseListener * m_pCloseListener;
+ OfficeDocumentsEventListener * m_pDocEventListener;
};
} // namespace tdoc_ucp
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx
index 2e8705a0f873..9ddcef8143fa 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tdoc_provider.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: obo $ $Date: 2004-05-28 15:16:28 $
+ * last change: $Author: kz $ $Date: 2004-06-11 12:32:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -121,7 +121,7 @@ class StorageElementFactory;
class ContentProvider :
public ::ucb::ContentProviderImplHelper,
public com::sun::star::frame::XTransientDocumentsDocumentContentFactory,
- public OfficeDocumentsCloseListener
+ public OfficeDocumentsEventListener
{
public:
ContentProvider( const com::sun::star::uno::Reference<
@@ -187,7 +187,8 @@ public:
com::sun::star::uno::Reference< com::sun::star::frame::XModel >
queryDocumentModel( const rtl::OUString & rUri ) const;
- // interface OfficeDocumentsCloseListener
+ // interface OfficeDocumentsEventListener
+ virtual void notifyDocumentOpened( const rtl::OUString & rDocId );
virtual void notifyDocumentClosed( const rtl::OUString & rDocId );
private: