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