Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_UCB_INTERACTIVEAPPEXCEPTION_HPP
2 : : #define INCLUDED_COM_SUN_STAR_UCB_INTERACTIVEAPPEXCEPTION_HPP
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/ucb/InteractiveAppException.hdl"
7 : :
8 : : #include "com/sun/star/task/ClassifiedInteractionRequest.hpp"
9 : : #include "com/sun/star/uno/Type.hxx"
10 : : #include "cppu/unotype.hxx"
11 : : #include "osl/mutex.hxx"
12 : : #include "rtl/instance.hxx"
13 : :
14 : : namespace com { namespace sun { namespace star { namespace ucb {
15 : :
16 : 0 : inline InteractiveAppException::InteractiveAppException() SAL_THROW(())
17 : : : ::com::sun::star::task::ClassifiedInteractionRequest()
18 : 0 : , Code(0)
19 : 0 : { }
20 : :
21 : 0 : inline InteractiveAppException::InteractiveAppException(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_uInt32& Code_) SAL_THROW(())
22 : : : ::com::sun::star::task::ClassifiedInteractionRequest(Message_, Context_, Classification_)
23 : 0 : , Code(Code_)
24 : 0 : { }
25 : :
26 : : InteractiveAppException::InteractiveAppException(InteractiveAppException const & the_other): ::com::sun::star::task::ClassifiedInteractionRequest(the_other), Code(the_other.Code) {}
27 : :
28 : 0 : InteractiveAppException::~InteractiveAppException() {}
29 : :
30 : : InteractiveAppException & InteractiveAppException::operator =(InteractiveAppException const & the_other) {
31 : : //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
32 : : ::com::sun::star::task::ClassifiedInteractionRequest::operator =(the_other);
33 : : Code = the_other.Code;
34 : : return *this;
35 : : }
36 : :
37 : : } } } }
38 : :
39 : : namespace com { namespace sun { namespace star { namespace ucb {
40 : :
41 : 0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::ucb::InteractiveAppException const *) {
42 : : static typelib_TypeDescriptionReference * the_type = 0;
43 [ # # ]: 0 : if ( !the_type )
44 : : {
45 : 0 : typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.InteractiveAppException" );
46 : : }
47 : 0 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
48 : : }
49 : :
50 : : } } } }
51 : :
52 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::ucb::InteractiveAppException const *) SAL_THROW(()) {
53 : : return ::cppu::UnoType< ::com::sun::star::ucb::InteractiveAppException >::get();
54 : : }
55 : :
56 : : #endif // INCLUDED_COM_SUN_STAR_UCB_INTERACTIVEAPPEXCEPTION_HPP
|