Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_UCB_AUTHENTICATIONREQUEST_HPP
2 : #define INCLUDED_COM_SUN_STAR_UCB_AUTHENTICATIONREQUEST_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/ucb/AuthenticationRequest.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 : #include "sal/types.h"
15 :
16 : namespace com { namespace sun { namespace star { namespace ucb {
17 :
18 0 : inline AuthenticationRequest::AuthenticationRequest() SAL_THROW(())
19 : : css::task::ClassifiedInteractionRequest()
20 : , ServerName()
21 : , Diagnostic()
22 : , HasRealm(false)
23 : , Realm()
24 : , HasUserName(false)
25 : , UserName()
26 : , HasPassword(false)
27 : , Password()
28 : , HasAccount(false)
29 0 : , Account()
30 0 : { }
31 :
32 : inline AuthenticationRequest::AuthenticationRequest(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const css::task::InteractionClassification& Classification_, const ::rtl::OUString& ServerName_, const ::rtl::OUString& Diagnostic_, const ::sal_Bool& HasRealm_, const ::rtl::OUString& Realm_, const ::sal_Bool& HasUserName_, const ::rtl::OUString& UserName_, const ::sal_Bool& HasPassword_, const ::rtl::OUString& Password_, const ::sal_Bool& HasAccount_, const ::rtl::OUString& Account_) SAL_THROW(())
33 : : css::task::ClassifiedInteractionRequest(Message_, Context_, Classification_)
34 : , ServerName(ServerName_)
35 : , Diagnostic(Diagnostic_)
36 : , HasRealm(HasRealm_)
37 : , Realm(Realm_)
38 : , HasUserName(HasUserName_)
39 : , UserName(UserName_)
40 : , HasPassword(HasPassword_)
41 : , Password(Password_)
42 : , HasAccount(HasAccount_)
43 : , Account(Account_)
44 : { }
45 :
46 : AuthenticationRequest::AuthenticationRequest(AuthenticationRequest const & the_other): css::task::ClassifiedInteractionRequest(the_other), ServerName(the_other.ServerName), Diagnostic(the_other.Diagnostic), HasRealm(the_other.HasRealm), Realm(the_other.Realm), HasUserName(the_other.HasUserName), UserName(the_other.UserName), HasPassword(the_other.HasPassword), Password(the_other.Password), HasAccount(the_other.HasAccount), Account(the_other.Account) {}
47 :
48 0 : AuthenticationRequest::~AuthenticationRequest() {}
49 :
50 : AuthenticationRequest & AuthenticationRequest::operator =(AuthenticationRequest const & the_other) {
51 : //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
52 : css::task::ClassifiedInteractionRequest::operator =(the_other);
53 : ServerName = the_other.ServerName;
54 : Diagnostic = the_other.Diagnostic;
55 : HasRealm = the_other.HasRealm;
56 : Realm = the_other.Realm;
57 : HasUserName = the_other.HasUserName;
58 : UserName = the_other.UserName;
59 : HasPassword = the_other.HasPassword;
60 : Password = the_other.Password;
61 : HasAccount = the_other.HasAccount;
62 : Account = the_other.Account;
63 : return *this;
64 : }
65 :
66 : } } } }
67 :
68 : namespace com { namespace sun { namespace star { namespace ucb {
69 :
70 0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::ucb::AuthenticationRequest const *) {
71 : static typelib_TypeDescriptionReference * the_type = 0;
72 0 : if ( !the_type )
73 : {
74 0 : typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.AuthenticationRequest" );
75 : }
76 0 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
77 : }
78 :
79 : } } } }
80 :
81 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::ucb::AuthenticationRequest const *) SAL_THROW(()) {
82 : return ::cppu::UnoType< css::ucb::AuthenticationRequest >::get();
83 : }
84 :
85 : #endif // INCLUDED_COM_SUN_STAR_UCB_AUTHENTICATIONREQUEST_HPP
|