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 : namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
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 : #include "com/sun/star/lang/XComponent.hdl"
12 : #include "com/sun/star/uno/RuntimeException.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 1241 : class SAL_NO_VTABLE XFrame : public css::lang::XComponent
23 : {
24 : public:
25 :
26 : // Methods
27 : virtual void SAL_CALL initialize( const ::com::sun::star::uno::Reference< css::awt::XWindow >& xWindow ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual ::com::sun::star::uno::Reference< css::awt::XWindow > SAL_CALL getContainerWindow() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual void SAL_CALL setCreator( const ::com::sun::star::uno::Reference< css::frame::XFramesSupplier >& Creator ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::com::sun::star::uno::Reference< css::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< css::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< css::awt::XWindow >& xComponentWindow, const ::com::sun::star::uno::Reference< css::frame::XController >& xController ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::com::sun::star::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::com::sun::star::uno::Reference< css::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< css::frame::XFrameActionListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual void SAL_CALL removeFrameActionListener( const ::com::sun::star::uno::Reference< css::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 1201 : ~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 css::frame::XFrame const *);
53 : } } } }
54 :
55 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::frame::XFrame > *) SAL_THROW(());
56 :
57 : #endif
|