Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_AWT_TAB_XTABPAGEMODEL_HDL
2 : #define INCLUDED_COM_SUN_STAR_AWT_TAB_XTABPAGEMODEL_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : #include "com/sun/star/uno/XInterface.hdl"
8 : #include "com/sun/star/uno/Reference.h"
9 : #include "cppu/macros.hxx"
10 : #include "rtl/ustring.hxx"
11 : #include "sal/types.h"
12 :
13 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
14 :
15 : namespace com { namespace sun { namespace star { namespace awt { namespace tab {
16 :
17 13 : class SAL_NO_VTABLE XTabPageModel : public css::uno::XInterface
18 : {
19 : public:
20 :
21 : // Attributes
22 : virtual ::sal_Int16 SAL_CALL getTabPageID() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
23 : virtual ::sal_Bool SAL_CALL getEnabled() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
24 : virtual void SAL_CALL setEnabled( ::sal_Bool _enabled ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
25 : virtual ::rtl::OUString SAL_CALL getTitle() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
26 : virtual void SAL_CALL setTitle( const ::rtl::OUString& _title ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual ::rtl::OUString SAL_CALL getImageURL() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual void SAL_CALL setImageURL( const ::rtl::OUString& _imageurl ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::rtl::OUString SAL_CALL getToolTip() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL setToolTip( const ::rtl::OUString& _tooltip ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 :
32 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
33 :
34 : protected:
35 5 : ~XTabPageModel() throw () {} // avoid warnings about virtual members and non-virtual dtor
36 : };
37 :
38 :
39 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::awt::tab::XTabPageModel const *);
40 : } } } } }
41 :
42 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::awt::tab::XTabPageModel > *) SAL_THROW(());
43 :
44 : #endif
|