diff options
Diffstat (limited to 'sw/source/ui/inc/FrameControlsManager.hxx')
-rw-r--r-- | sw/source/ui/inc/FrameControlsManager.hxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/ui/inc/FrameControlsManager.hxx b/sw/source/ui/inc/FrameControlsManager.hxx index ddfaaa00a2db..ec78b1d06aca 100644 --- a/sw/source/ui/inc/FrameControlsManager.hxx +++ b/sw/source/ui/inc/FrameControlsManager.hxx @@ -28,6 +28,7 @@ #ifndef _FRAMECONTROLSMANAGER_HXX #define _FRAMECONTROLSMANAGER_HXX +#include <viewsh.hxx> #include <FrameControl.hxx> #include <boost/shared_ptr.hpp> @@ -39,13 +40,6 @@ class SwPageFrm; class SwEditWin; -enum FrameControlType -{ - PageBreak, - Header, - Footer -}; - typedef boost::shared_ptr< SwFrameControl > SwFrameControlPtr; /** A container for the Header/Footer, or PageBreak controls. @@ -71,7 +65,7 @@ class SwFrameControlsManager void SetReadonlyControls( bool bReadonly ); // Helper methods - void SetHeaderFooterControl( const SwPageFrm* pPageFrm, bool bHeader, Point aOffset ); + void SetHeaderFooterControl( const SwPageFrm* pPageFrm, FrameControlType eType, Point aOffset ); void SetPageBreakControl( const SwPageFrm* pPageFrm ); }; |