zdk.net
MSRPConfig.h
1 //
2 // MSRPConfig.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_MSRPConfig_h
7 #define ZDK_NET_MSRPConfig_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "ZHandle.h"
12 
13 using namespace System::Collections::Generic;
14 
15 namespace ZDK_NET
16 {
17  ref class MSRPConfig;
18 
21  public ref class MSRPConfig : ZHandle
22  {
23  public:
24  ZDK::IMSRPConfig* cppRef = nullptr;
25 
26  MSRPConfig(ZDK::Shared::MSRPConfig src);
27  ~MSRPConfig();
29 
36  property bool EnableMSRP
37  {
38  bool get();
39  void set(bool value);
40  }
41 
55  property bool EnableMSRPChat
56  {
57  bool get();
58  void set(bool value);
59  }
60 
74  property bool EnableMSRPFileTransfer
75  {
76  bool get();
77  void set(bool value);
78  }
79 
92  property bool UseMSRPRelay
93  {
94  bool get();
95  void set(bool value);
96  }
97 
114  property System::String^ MSRPRelayURL
115  {
116  System::String^ get();
117  void set(System::String^ value);
118  }
119 
131  property System::String^ MSRPRelayUserName
132  {
133  System::String^ get();
134  void set(System::String^ value);
135  }
136 
151  property System::String^ MSRPRelayPassword
152  {
153  System::String^ get();
154  void set(System::String^ value);
155  }
156 
165  property int MSRPTcpPort
166  {
167  int get();
168  void set(int value);
169  }
170 
180 
181  virtual long long Handle() override;
182 
183  virtual void Initialize() override;
184 
185  virtual void ReleaseReference() override;
186 
187  };
188 }
189 
190 #endif
ZDK_NET::MSRPConfig::IsEqual
bool IsEqual(ZDK_NET::MSRPConfig^ comp)
Compares the current configuration with the given one.
ZDK_NET::MSRPConfig
MSRP (Message Session Relay Protocol) specific account configuration.
Definition: MSRPConfig.h:22
ZDK_NET::ZHandle
Definition: ZHandle.h:18