summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-07-06 12:05:12 +0000
committerOliver Bolte <obo@openoffice.org>2004-07-06 12:05:12 +0000
commit391da8bfcb1fc70045f3fe8d73577545d1f522cf (patch)
tree430fbee3ca4a62cf78e201abffd269338c7de381 /svx/inc
parentd3608152e6204af790dd85c5f18888f509568f1a (diff)
INTEGRATION: CWS docking1 (1.6.674); FILE MERGED
2004/04/25 05:40:30 cd 1.6.674.1: #i26252# Transition of toolbar controllers
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/lboxctrl.hxx17
1 files changed, 11 insertions, 6 deletions
diff --git a/svx/inc/lboxctrl.hxx b/svx/inc/lboxctrl.hxx
index 2151c4220cba..79b0b7a78cd5 100644
--- a/svx/inc/lboxctrl.hxx
+++ b/svx/inc/lboxctrl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: lboxctrl.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: jp $ $Date: 2001-10-12 15:52:23 $
+ * last change: $Author: obo $ $Date: 2004-07-06 13:05:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,8 @@
#ifndef _SFXTBXCTRL_HXX
#include <sfx2/tbxctrl.hxx>
#endif
+#include <rtl/ustring.hxx>
+#include <vector>
class ToolBox;
class SvxPopupWindowListBox;
@@ -85,7 +87,7 @@ protected:
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxListBoxControl( USHORT nId, ToolBox& rTbx, SfxBindings& rBind );
+ SvxListBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
virtual ~SvxListBoxControl();
virtual SfxPopupWindowType GetPopupWindowType() const;
@@ -99,14 +101,17 @@ public:
class SvxUndoRedoControl : public SvxListBoxControl
{
+ std::vector< ::rtl::OUString > aUndoRedoList;
+
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxUndoRedoControl( USHORT nId, ToolBox& rTbx, SfxBindings& rBind )
- : SvxListBoxControl( nId, rTbx, rBind )
- {}
+ SvxUndoRedoControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
virtual ~SvxUndoRedoControl();
+ virtual void StateChanged( USHORT nSID,
+ SfxItemState eState,
+ const SfxPoolItem* pState );
virtual SfxPopupWindow* CreatePopupWindow();
};