Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_DOCUMENT_AMBIGOUSFILTERREQUEST_HPP
2 : #define INCLUDED_COM_SUN_STAR_DOCUMENT_AMBIGOUSFILTERREQUEST_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/document/AmbigousFilterRequest.hdl"
7 :
8 : #include "com/sun/star/uno/Exception.hpp"
9 : #include "com/sun/star/uno/Type.hxx"
10 : #include "cppu/unotype.hxx"
11 : #include "osl/mutex.hxx"
12 : #include "rtl/ustring.hxx"
13 : #include "rtl/instance.hxx"
14 :
15 : namespace com { namespace sun { namespace star { namespace document {
16 :
17 16 : inline AmbigousFilterRequest::AmbigousFilterRequest() SAL_THROW(())
18 : : css::uno::Exception()
19 : , URL()
20 : , SelectedFilter()
21 16 : , DetectedFilter()
22 16 : { }
23 :
24 : inline AmbigousFilterRequest::AmbigousFilterRequest(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const ::rtl::OUString& URL_, const ::rtl::OUString& SelectedFilter_, const ::rtl::OUString& DetectedFilter_) SAL_THROW(())
25 : : css::uno::Exception(Message_, Context_)
26 : , URL(URL_)
27 : , SelectedFilter(SelectedFilter_)
28 : , DetectedFilter(DetectedFilter_)
29 : { }
30 :
31 : AmbigousFilterRequest::AmbigousFilterRequest(AmbigousFilterRequest const & the_other): css::uno::Exception(the_other), URL(the_other.URL), SelectedFilter(the_other.SelectedFilter), DetectedFilter(the_other.DetectedFilter) {}
32 :
33 16 : AmbigousFilterRequest::~AmbigousFilterRequest() {}
34 :
35 : AmbigousFilterRequest & AmbigousFilterRequest::operator =(AmbigousFilterRequest const & the_other) {
36 : //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
37 : css::uno::Exception::operator =(the_other);
38 : URL = the_other.URL;
39 : SelectedFilter = the_other.SelectedFilter;
40 : DetectedFilter = the_other.DetectedFilter;
41 : return *this;
42 : }
43 :
44 : } } } }
45 :
46 : namespace com { namespace sun { namespace star { namespace document {
47 :
48 16 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::document::AmbigousFilterRequest const *) {
49 : static typelib_TypeDescriptionReference * the_type = 0;
50 16 : if ( !the_type )
51 : {
52 4 : typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.document.AmbigousFilterRequest" );
53 : }
54 16 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
55 : }
56 :
57 : } } } }
58 :
59 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::document::AmbigousFilterRequest const *) SAL_THROW(()) {
60 : return ::cppu::UnoType< css::document::AmbigousFilterRequest >::get();
61 : }
62 :
63 : #endif // INCLUDED_COM_SUN_STAR_DOCUMENT_AMBIGOUSFILTERREQUEST_HPP
|