summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb/WinClipbImpl.hxx
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-03-16 15:33:30 +0000
committerTino Rachui <tra@openoffice.org>2001-03-16 15:33:30 +0000
commit52dbacf7cd5f28ac400b6a60693a522d371d7609 (patch)
tree036bf3eab71b2df4aec1e306b7449000f5c141ce /dtrans/source/win32/clipb/WinClipbImpl.hxx
parent1434b5f4363053a8747a401d0f50b7c25c31b7ba (diff)
*** empty log message ***
Diffstat (limited to 'dtrans/source/win32/clipb/WinClipbImpl.hxx')
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.hxx39
1 files changed, 19 insertions, 20 deletions
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.hxx b/dtrans/source/win32/clipb/WinClipbImpl.hxx
index 0a47183145e1..a4f55329dab5 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.hxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: WinClipbImpl.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: tra $ $Date: 2001-03-14 14:43:14 $
+ * last change: $Author: tra $ $Date: 2001-03-16 16:32:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -95,6 +95,7 @@
#include <comdef.h>
class CWinClipboard;
+class CXNotifyingDataObject;
//---------------------------------------------------
// impl class to avoid deadlocks between XTDataObject
@@ -112,10 +113,10 @@ protected:
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable > SAL_CALL getContents( )
throw( ::com::sun::star::uno::RuntimeException );
- void SAL_CALL setContents( const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& xTransferable,
- const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboardOwner >& xClipboardOwner,
- osl::ClearableMutexGuard& aGuard )
- throw( ::com::sun::star::uno::RuntimeException );
+ void SAL_CALL setContents(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& xTransferable,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboardOwner >& xClipboardOwner )
+ throw( ::com::sun::star::uno::RuntimeException );
::rtl::OUString SAL_CALL getName( ) throw( ::com::sun::star::uno::RuntimeException );
@@ -146,25 +147,23 @@ protected:
static void WINAPI onClipboardContentChanged( void );
- sal_Bool SAL_CALL isInDispose( ) const;
-
- ::rtl::OUString m_itsName;
- CMtaOleClipboard m_MtaOleClipboard;
- static CWinClipbImpl* s_pCWinClipbImpl;
- CWinClipboard* m_pWinClipboard;
- sal_Bool m_bInDispose;
- com::sun::star::uno::Reference< com::sun::star::datatransfer::XTransferable > m_rCurrentClipbContent;
- com::sun::star::uno::Reference< com::sun::star::datatransfer::XTransferable > m_rOldClipbContent;
- com::sun::star::uno::Reference< com::sun::star::datatransfer::clipboard::XClipboardOwner > m_rCurrentClipbOwner;
- com::sun::star::uno::Reference< com::sun::star::datatransfer::clipboard::XClipboardOwner > m_rOldClipbOwner;
- sal_Bool m_bSelfTriggered;
- osl::Mutex m_aMutex;
+private:
+ void SAL_CALL onReleaseDataObject( CXNotifyingDataObject* theCaller );
- friend class CWinClipboard;
+private:
+ ::rtl::OUString m_itsName;
+ CMtaOleClipboard m_MtaOleClipboard;
+ CWinClipboard* m_pWinClipboard;
+ CXNotifyingDataObject* m_pCurrentClipContent;
+ osl::Mutex m_aMutex;
+ static CWinClipbImpl* s_pCWinClipbImpl;
private:
CWinClipbImpl( const CWinClipbImpl& );
CWinClipbImpl& operator=( const CWinClipbImpl& );
+
+ friend class CWinClipboard;
+ friend class CXNotifyingDataObject;
};
#endif \ No newline at end of file