Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_FRAME_XFRAME_HDL
2 : : #define INCLUDED_COM_SUN_STAR_FRAME_XFRAME_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : namespace com { namespace sun { namespace star { namespace frame { class XController; } } } }
8 : : namespace com { namespace sun { namespace star { namespace frame { class XFrame; } } } }
9 : : namespace com { namespace sun { namespace star { namespace frame { class XFrameActionListener; } } } }
10 : : namespace com { namespace sun { namespace star { namespace frame { class XFramesSupplier; } } } }
11 : : namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
12 : : #include "com/sun/star/lang/XComponent.hdl"
13 : : #include "com/sun/star/uno/Reference.h"
14 : : #include "cppu/macros.hxx"
15 : : #include "rtl/ustring.hxx"
16 : : #include "sal/types.h"
17 : :
18 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
19 : :
20 : : namespace com { namespace sun { namespace star { namespace frame {
21 : :
22 : 1983 : class SAL_NO_VTABLE XFrame : public ::com::sun::star::lang::XComponent
23 : : {
24 : : public:
25 : :
26 : : // Methods
27 : : virtual void SAL_CALL initialize( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& xWindow ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getContainerWindow( ) throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setCreator( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFramesSupplier >& Creator ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFramesSupplier > SAL_CALL getCreator( ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::rtl::OUString SAL_CALL getName( ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL setName( const ::rtl::OUString& aName ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL findFrame( const ::rtl::OUString& aTargetFrameName, ::sal_Int32 nSearchFlags ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Bool SAL_CALL isTop( ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL activate( ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL deactivate( ) throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::sal_Bool SAL_CALL isActive( ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Bool SAL_CALL setComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& xComponentWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& xController ) throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getComponentWindow( ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > SAL_CALL getController( ) throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL contextChanged( ) throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual void SAL_CALL addFrameActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrameActionListener >& xListener ) throw (::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual void SAL_CALL removeFrameActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrameActionListener >& xListener ) throw (::com::sun::star::uno::RuntimeException) = 0;
44 : :
45 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
46 : :
47 : : protected:
48 : 1832 : ~XFrame() throw () {} // avoid warnings about virtual members and non-virtual dtor
49 : : };
50 : :
51 : :
52 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::frame::XFrame const *);
53 : : } } } }
54 : :
55 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > *) SAL_THROW(());
56 : :
57 : : #endif
|