diff options
author | Frank Schönheit <fs@openoffice.org> | 2002-05-23 11:19:25 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2002-05-23 11:19:25 +0000 |
commit | 18de45863df2b2c414e16321d3252226ae8f30d5 (patch) | |
tree | 21bf983576d8aa46a486e82dab0bf88e8e602b9a /dbaccess/source/ui/inc/brwctrlr.hxx | |
parent | 073883765b026aacc77171464a1f619589dfe7eb (diff) |
#99030# have a clipboard notifier
Diffstat (limited to 'dbaccess/source/ui/inc/brwctrlr.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/brwctrlr.hxx | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx index c9c6bb720011..3555cca5b38b 100644 --- a/dbaccess/source/ui/inc/brwctrlr.hxx +++ b/dbaccess/source/ui/inc/brwctrlr.hxx @@ -2,9 +2,9 @@ * * $RCSfile: brwctrlr.hxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: fs $ $Date: 2002-03-21 14:55:08 $ + * last change: $Author: fs $ $Date: 2002-05-23 12:19:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -122,7 +122,9 @@ #ifndef DBAUI_GENERICCONTROLLER_HXX #include "genericcontroller.hxx" #endif - +#ifndef _CLIPLISTENER_HXX +#include <svtools/cliplistener.hxx> +#endif class ResMgr; struct FmFoundRecordInformation; @@ -165,6 +167,10 @@ namespace dbaui AutoTimer m_aInvalidateClipboard; // for testing the state of the CUT/COPY/PASTE-slots + TransferableDataHelper m_aSystemClipboard; // content of the clipboard + TransferableClipboardListener* + m_pClipbordNotifier; // notifier for changes in the clipboard + ::osl::Mutex m_aAsyncLoadSafety; // for multi-thread access to our members OAsyncronousLink m_aAsyncGetCellFocus; @@ -187,9 +193,6 @@ namespace dbaui sal_Bool m_bErrorOccured : 1; // see enter-/leaveFormAction protected: - TransferableDataHelper m_aSystemClipboard; - - protected: class FormErrorHelper { SbaXDataBrowserController* m_pOwner; @@ -217,6 +220,9 @@ namespace dbaui void setLoadingStarted() { m_bLoadCanceled = sal_False; } void setLoadingCancelled() { m_bLoadCanceled = sal_True; } + const TransferableDataHelper& + getViewClipboard() const { return m_aSystemClipboard; } + protected: ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLQueryComposer > getParser() const { return m_xParser; } @@ -403,7 +409,8 @@ namespace dbaui void applyParserOrder(const ::rtl::OUString& _rOldOrder); // time to check the CUT/COPY/PASTE-slot-states - DECL_LINK(OnInvalidateClipboard, void*); + DECL_LINK( OnInvalidateClipboard, void* ); + DECL_LINK( OnClipboardChanged, void* ); // search callbacks DECL_LINK(OnSearchContextRequest, FmSearchContext*); |