Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_SDB_TOOLS_XCONNECTIONTOOLS_HDL
2 : : #define INCLUDED_COM_SUN_STAR_SDB_TOOLS_XCONNECTIONTOOLS_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/sdbc/SQLException.hdl"
7 : : #include "com/sun/star/uno/RuntimeException.hdl"
8 : : namespace com { namespace sun { namespace star { namespace container { class XNameAccess; } } } }
9 : : namespace com { namespace sun { namespace star { namespace sdb { namespace tools { class XDataSourceMetaData; } } } } }
10 : : namespace com { namespace sun { namespace star { namespace sdb { namespace tools { class XObjectNames; } } } } }
11 : : namespace com { namespace sun { namespace star { namespace sdb { namespace tools { class XTableName; } } } } }
12 : : namespace com { namespace sun { namespace star { namespace lang { class XComponent; } } } }
13 : : #include "com/sun/star/uno/XInterface.hdl"
14 : : namespace com { namespace sun { namespace star { namespace sdb { class XSingleSelectQueryComposer; } } } }
15 : : #include "com/sun/star/uno/Reference.h"
16 : : #include "cppu/macros.hxx"
17 : : #include "rtl/ustring.hxx"
18 : : #include "sal/types.h"
19 : :
20 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 : :
22 : : namespace com { namespace sun { namespace star { namespace sdb { namespace tools {
23 : :
24 : 56 : class SAL_NO_VTABLE XConnectionTools : public ::com::sun::star::uno::XInterface
25 : : {
26 : : public:
27 : :
28 : : // Methods
29 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::tools::XTableName > SAL_CALL createTableName( ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::tools::XObjectNames > SAL_CALL getObjectNames( ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::tools::XDataSourceMetaData > SAL_CALL getDataSourceMetaData( ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getFieldsByCommandDescriptor( ::sal_Int32 commandType, const ::rtl::OUString& command, ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& keepFieldsAlive ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSingleSelectQueryComposer > SAL_CALL getComposer( ::sal_Int32 commandType, const ::rtl::OUString& command ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : :
35 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
36 : :
37 : : protected:
38 : 56 : ~XConnectionTools() throw () {} // avoid warnings about virtual members and non-virtual dtor
39 : : };
40 : :
41 : :
42 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::sdb::tools::XConnectionTools const *);
43 : : } } } } }
44 : :
45 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::tools::XConnectionTools > *) SAL_THROW(());
46 : :
47 : : #endif
|