1*cdf0e10cSrcweir 
2*cdf0e10cSrcweir 
3*cdf0e10cSrcweir #ifndef __FRAMEWORK_UIELEMENT_PANELWRAPPER_HXX_
4*cdf0e10cSrcweir #define __FRAMEWORK_UIELEMENT_PANELWRAPPER_HXX_
5*cdf0e10cSrcweir 
6*cdf0e10cSrcweir //_________________________________________________________________________________________________________________
7*cdf0e10cSrcweir //	my own includes
8*cdf0e10cSrcweir //_________________________________________________________________________________________________________________
9*cdf0e10cSrcweir 
10*cdf0e10cSrcweir #include <helper/uielementwrapperbase.hxx>
11*cdf0e10cSrcweir 
12*cdf0e10cSrcweir //_________________________________________________________________________________________________________________
13*cdf0e10cSrcweir //	interface includes
14*cdf0e10cSrcweir //_________________________________________________________________________________________________________________
15*cdf0e10cSrcweir 
16*cdf0e10cSrcweir #include <com/sun/star/frame/XFrame.hpp>
17*cdf0e10cSrcweir #include <com/sun/star/lang/XComponent.hpp>
18*cdf0e10cSrcweir #include <com/sun/star/lang/XMultiServiceFactory.hpp>
19*cdf0e10cSrcweir 
20*cdf0e10cSrcweir //_________________________________________________________________________________________________________________
21*cdf0e10cSrcweir //	other includes
22*cdf0e10cSrcweir //_________________________________________________________________________________________________________________
23*cdf0e10cSrcweir 
24*cdf0e10cSrcweir namespace framework
25*cdf0e10cSrcweir {
26*cdf0e10cSrcweir 
27*cdf0e10cSrcweir class PanelWrapper : public UIElementWrapperBase
28*cdf0e10cSrcweir {
29*cdf0e10cSrcweir     public:
30*cdf0e10cSrcweir 		PanelWrapper( const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& xServiceManager );
31*cdf0e10cSrcweir 		virtual ~PanelWrapper();
32*cdf0e10cSrcweir 
33*cdf0e10cSrcweir 		// XInterface
34*cdf0e10cSrcweir 		virtual void SAL_CALL acquire() throw();
35*cdf0e10cSrcweir 		virtual void SAL_CALL release() throw();
36*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
37*cdf0e10cSrcweir 
38*cdf0e10cSrcweir 		// XComponent
39*cdf0e10cSrcweir 		virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException);
40*cdf0e10cSrcweir 
41*cdf0e10cSrcweir 		// XInitialization
42*cdf0e10cSrcweir 		virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
43*cdf0e10cSrcweir 
44*cdf0e10cSrcweir 		// XUIElement
45*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getRealInterface() throw (::com::sun::star::uno::RuntimeException);
46*cdf0e10cSrcweir 
47*cdf0e10cSrcweir 		// XUpdatable
48*cdf0e10cSrcweir 		virtual void SAL_CALL update() throw (::com::sun::star::uno::RuntimeException);
49*cdf0e10cSrcweir 
50*cdf0e10cSrcweir 		// XEventListener
51*cdf0e10cSrcweir 		using cppu::OPropertySetHelper::disposing;
52*cdf0e10cSrcweir 		virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException);
53*cdf0e10cSrcweir 
54*cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
55*cdf0e10cSrcweir     //	protected methods
56*cdf0e10cSrcweir     //-------------------------------------------------------------------------------------------------------------
57*cdf0e10cSrcweir     protected:
58*cdf0e10cSrcweir 		virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const com::sun::star::uno::Any&  aValue ) throw( com::sun::star::uno::Exception );
59*cdf0e10cSrcweir 
60*cdf0e10cSrcweir     private:
61*cdf0e10cSrcweir 		com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >    m_xServiceManager;
62*cdf0e10cSrcweir 		com::sun::star::uno::Reference< com::sun::star::awt::XWindow >                  m_xPanelWindow;
63*cdf0e10cSrcweir         bool                                                                            m_bNoClose;
64*cdf0e10cSrcweir };
65*cdf0e10cSrcweir 
66*cdf0e10cSrcweir }
67*cdf0e10cSrcweir 
68*cdf0e10cSrcweir #endif // __FRAMEWORK_UIELEMENT_PANELWRAPPER_HXX_
69