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