Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_UCB_INTERACTIVECHAOSEXCEPTION_HPP
2 : : #define INCLUDED_COM_SUN_STAR_UCB_INTERACTIVECHAOSEXCEPTION_HPP
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/ucb/InteractiveCHAOSException.hdl"
7 : :
8 : : #include "com/sun/star/task/ClassifiedInteractionRequest.hpp"
9 : : #include "com/sun/star/uno/Sequence.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 ucb {
18 : :
19 : 0 : inline InteractiveCHAOSException::InteractiveCHAOSException() SAL_THROW(())
20 : : : ::com::sun::star::task::ClassifiedInteractionRequest()
21 : : , ID(0)
22 [ # # ]: 0 : , Arguments()
23 : 0 : { }
24 : :
25 : : inline InteractiveCHAOSException::InteractiveCHAOSException(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Context_, const ::com::sun::star::task::InteractionClassification& Classification_, const ::sal_Int32& ID_, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& Arguments_) SAL_THROW(())
26 : : : ::com::sun::star::task::ClassifiedInteractionRequest(Message_, Context_, Classification_)
27 : : , ID(ID_)
28 : : , Arguments(Arguments_)
29 : : { }
30 : :
31 : : InteractiveCHAOSException::InteractiveCHAOSException(InteractiveCHAOSException const & the_other): ::com::sun::star::task::ClassifiedInteractionRequest(the_other), ID(the_other.ID), Arguments(the_other.Arguments) {}
32 : :
33 [ # # ]: 0 : InteractiveCHAOSException::~InteractiveCHAOSException() {}
34 : :
35 : : InteractiveCHAOSException & InteractiveCHAOSException::operator =(InteractiveCHAOSException const & the_other) {
36 : : //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
37 : : ::com::sun::star::task::ClassifiedInteractionRequest::operator =(the_other);
38 : : ID = the_other.ID;
39 : : Arguments = the_other.Arguments;
40 : : return *this;
41 : : }
42 : :
43 : : } } } }
44 : :
45 : : namespace com { namespace sun { namespace star { namespace ucb {
46 : :
47 : 0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::ucb::InteractiveCHAOSException const *) {
48 : : static typelib_TypeDescriptionReference * the_type = 0;
49 [ # # ]: 0 : if ( !the_type )
50 : : {
51 : 0 : typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.InteractiveCHAOSException" );
52 : : }
53 : 0 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
54 : : }
55 : :
56 : : } } } }
57 : :
58 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::ucb::InteractiveCHAOSException const *) SAL_THROW(()) {
59 : : return ::cppu::UnoType< ::com::sun::star::ucb::InteractiveCHAOSException >::get();
60 : : }
61 : :
62 : : #endif // INCLUDED_COM_SUN_STAR_UCB_INTERACTIVECHAOSEXCEPTION_HPP
|