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:
This commit is contained in:
parent
61aad5ba02
commit
4c65fbdc2f
2 changed files with 11 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue