Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_UCB_NAMECLASHRESOLVEREQUEST_HPP
2 : #define INCLUDED_COM_SUN_STAR_UCB_NAMECLASHRESOLVEREQUEST_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/ucb/NameClashResolveRequest.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/ustring.hxx"
13 : #include "rtl/instance.hxx"
14 :
15 : namespace com { namespace sun { namespace star { namespace ucb {
16 :
17 0 : inline NameClashResolveRequest::NameClashResolveRequest() SAL_THROW(())
18 : : css::task::ClassifiedInteractionRequest()
19 : , TargetFolderURL()
20 : , ClashingName()
21 0 : , ProposedNewName()
22 0 : { }
23 :
24 0 : inline NameClashResolveRequest::NameClashResolveRequest(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const css::task::InteractionClassification& Classification_, const ::rtl::OUString& TargetFolderURL_, const ::rtl::OUString& ClashingName_, const ::rtl::OUString& ProposedNewName_) SAL_THROW(())
25 : : css::task::ClassifiedInteractionRequest(Message_, Context_, Classification_)
26 : , TargetFolderURL(TargetFolderURL_)
27 : , ClashingName(ClashingName_)
28 0 : , ProposedNewName(ProposedNewName_)
29 0 : { }
30 :
31 : NameClashResolveRequest::NameClashResolveRequest(NameClashResolveRequest const & the_other): css::task::ClassifiedInteractionRequest(the_other), TargetFolderURL(the_other.TargetFolderURL), ClashingName(the_other.ClashingName), ProposedNewName(the_other.ProposedNewName) {}
32 :
33 0 : NameClashResolveRequest::~NameClashResolveRequest() {}
34 :
35 : NameClashResolveRequest & NameClashResolveRequest::operator =(NameClashResolveRequest const & the_other) {
36 : //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
37 : css::task::ClassifiedInteractionRequest::operator =(the_other);
38 : TargetFolderURL = the_other.TargetFolderURL;
39 : ClashingName = the_other.ClashingName;
40 : ProposedNewName = the_other.ProposedNewName;
41 : return *this;
42 : }
43 :
44 : } } } }
45 :
46 : namespace com { namespace sun { namespace star { namespace ucb {
47 :
48 0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::ucb::NameClashResolveRequest const *) {
49 : static typelib_TypeDescriptionReference * the_type = 0;
50 0 : if ( !the_type )
51 : {
52 0 : typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.NameClashResolveRequest" );
53 : }
54 0 : 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::ucb::NameClashResolveRequest const *) SAL_THROW(()) {
60 : return ::cppu::UnoType< css::ucb::NameClashResolveRequest >::get();
61 : }
62 :
63 : #endif // INCLUDED_COM_SUN_STAR_UCB_NAMECLASHRESOLVEREQUEST_HPP
|