Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_SDBC_XRESULTSET_HDL
2 : : #define INCLUDED_COM_SUN_STAR_SDBC_XRESULTSET_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/XInterface.hdl"
7 : : #include "com/sun/star/sdbc/SQLException.hdl"
8 : : #include "com/sun/star/uno/RuntimeException.hdl"
9 : : #include "com/sun/star/uno/Reference.h"
10 : : #include "cppu/macros.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 sdbc {
16 : :
17 : 25550 : class SAL_NO_VTABLE XResultSet : public ::com::sun::star::uno::XInterface
18 : : {
19 : : public:
20 : :
21 : : // Methods
22 : : virtual ::sal_Bool SAL_CALL next( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
23 : : virtual ::sal_Bool SAL_CALL isBeforeFirst( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
24 : : virtual ::sal_Bool SAL_CALL isAfterLast( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
25 : : virtual ::sal_Bool SAL_CALL isFirst( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::sal_Bool SAL_CALL isLast( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL beforeFirst( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual void SAL_CALL afterLast( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual ::sal_Bool SAL_CALL first( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::sal_Bool SAL_CALL last( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::sal_Int32 SAL_CALL getRow( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::sal_Bool SAL_CALL absolute( ::sal_Int32 row ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::sal_Bool SAL_CALL relative( ::sal_Int32 rows ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Bool SAL_CALL previous( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL refreshRow( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::sal_Bool SAL_CALL rowUpdated( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::sal_Bool SAL_CALL rowInserted( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Bool SAL_CALL rowDeleted( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
40 : :
41 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
42 : :
43 : : protected:
44 : 25536 : ~XResultSet() throw () {} // avoid warnings about virtual members and non-virtual dtor
45 : : };
46 : :
47 : :
48 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::sdbc::XResultSet const *);
49 : : } } } }
50 : :
51 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > *) SAL_THROW(());
52 : :
53 : : #endif
|