Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_XML_SAX_XFASTPARSER_HPP
2 : #define INCLUDED_COM_SUN_STAR_XML_SAX_XFASTPARSER_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/xml/sax/XFastParser.hdl"
7 :
8 : #include "com/sun/star/io/IOException.hpp"
9 : #include "com/sun/star/lang/IllegalArgumentException.hpp"
10 : #include "com/sun/star/lang/Locale.hpp"
11 : #include "com/sun/star/uno/RuntimeException.hpp"
12 : #include "com/sun/star/uno/XInterface.hpp"
13 : #include "com/sun/star/xml/sax/InputSource.hpp"
14 : #include "com/sun/star/xml/sax/SAXException.hpp"
15 : #include "com/sun/star/xml/sax/XEntityResolver.hpp"
16 : #include "com/sun/star/xml/sax/XErrorHandler.hpp"
17 : #include "com/sun/star/xml/sax/XFastDocumentHandler.hpp"
18 : #include "com/sun/star/xml/sax/XFastTokenHandler.hpp"
19 : #include "com/sun/star/uno/Reference.hxx"
20 : #include "com/sun/star/uno/Type.hxx"
21 : #include "cppu/unotype.hxx"
22 : #include "osl/mutex.hxx"
23 : #include "rtl/ustring.hxx"
24 : #include "rtl/instance.hxx"
25 : #include "sal/types.h"
26 :
27 : namespace com { namespace sun { namespace star { namespace xml { namespace sax {
28 :
29 2030 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::sax::XFastParser const *) {
30 : static typelib_TypeDescriptionReference * the_type = 0;
31 2030 : if ( !the_type )
32 : {
33 31 : typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.xml.sax.XFastParser" );
34 : }
35 2030 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
36 : }
37 :
38 : } } } } }
39 :
40 2030 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< css::xml::sax::XFastParser > const *) SAL_THROW(()) {
41 2030 : return ::cppu::UnoType< ::com::sun::star::uno::Reference< css::xml::sax::XFastParser > >::get();
42 : }
43 :
44 2030 : ::com::sun::star::uno::Type const & css::xml::sax::XFastParser::static_type(SAL_UNUSED_PARAMETER void *) {
45 2030 : return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< css::xml::sax::XFastParser > * >(0));
46 : }
47 :
48 : #endif // INCLUDED_COM_SUN_STAR_XML_SAX_XFASTPARSER_HPP
|