Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_CHART2_DATA_XDATABASEDATAPROVIDER_HPP
2 : : #define INCLUDED_COM_SUN_STAR_CHART2_DATA_XDATABASEDATAPROVIDER_HPP
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/chart2/data/XDatabaseDataProvider.hdl"
7 : :
8 : : #include "com/sun/star/uno/RuntimeException.hpp"
9 : : #include "com/sun/star/lang/IllegalArgumentException.hpp"
10 : : #include "com/sun/star/sdbc/XConnection.hpp"
11 : : #include "com/sun/star/beans/UnknownPropertyException.hpp"
12 : : #include "com/sun/star/lang/XComponent.hpp"
13 : : #include "com/sun/star/beans/XPropertySet.hpp"
14 : : #include "com/sun/star/chart2/data/XDataProvider.hpp"
15 : : #include "com/sun/star/sdbc/XParameters.hpp"
16 : : #include "com/sun/star/sdbc/XRowSet.hpp"
17 : : #include "com/sun/star/chart2/data/XRangeXMLConversion.hpp"
18 : : #include "com/sun/star/lang/XInitialization.hpp"
19 : : #include "com/sun/star/uno/Reference.hxx"
20 : : #include "com/sun/star/uno/Sequence.hxx"
21 : : #include "com/sun/star/uno/Type.hxx"
22 : : #include "cppu/unotype.hxx"
23 : : #include "osl/mutex.hxx"
24 : : #include "rtl/ustring.hxx"
25 : : #include "rtl/instance.hxx"
26 : : #include "sal/types.h"
27 : :
28 : : namespace com { namespace sun { namespace star { namespace chart2 { namespace data {
29 : :
30 : 1 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::chart2::data::XDatabaseDataProvider const *) {
31 : : static typelib_TypeDescriptionReference * the_type = 0;
32 [ + - ]: 1 : if ( !the_type )
33 : : {
34 : 1 : typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.chart2.data.XDatabaseDataProvider" );
35 : : }
36 : 1 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
37 : : }
38 : :
39 : : } } } } }
40 : :
41 : 1 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDatabaseDataProvider > const *) SAL_THROW(()) {
42 : 1 : return ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDatabaseDataProvider > >::get();
43 : : }
44 : :
45 : 1 : ::com::sun::star::uno::Type const & ::com::sun::star::chart2::data::XDatabaseDataProvider::static_type(SAL_UNUSED_PARAMETER void *) {
46 : 1 : return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDatabaseDataProvider > * >(0));
47 : : }
48 : :
49 : : #endif // INCLUDED_COM_SUN_STAR_CHART2_DATA_XDATABASEDATAPROVIDER_HPP
|