My Project
ParaScriptingJabberClient.h
1 #pragma once
2 namespace ParaEngine
3 {
4  class INPLJabberClient;
5 }
6 
7 namespace luabind
8 {
9  namespace adl{
10  class object;
11  }
12  using adl::object;
13 }
14 
15 namespace ParaScripting
16 {
17  using namespace luabind;
42  class PE_CORE_DECL NPLJabberClient
43  {
44  public:
45  NPLJabberClient():m_pProxy(NULL){}
46  NPLJabberClient(ParaEngine::INPLJabberClient* pProxy):m_pProxy(pProxy){}
47 
52  bool IsValid() {return m_pProxy!=0;};
53 
55  //
56  // attribute functions
57  //
59 
61  void SetUser(const char* User);
62 
64  const char* GetUser() const;
65 
67  void SetPriority(int nPriority);
68 
70  int GetPriority() const;
71 
75  void SetPassword(const char* Password);
76 
80  const char* GetPassword() const;
81 
83  void SetAutoLogin(bool AutoLogin);
84 
86  bool GetAutoLogin() const;
87 
89  void SetAutoRoster(bool AutoRoster);
90 
92  bool GetAutoRoster() const;
93 
95  void SetAutoIQErrors(bool AutoIQErrors);
96 
98  bool GetAutoIQErrors() const;
99 
101  void SetAutoPresence(bool AutoPresence);
102 
104  bool GetAutoPresence() const;
105 
106 
108  void SetResource(const char* Resource);
109 
111  const char* GetResource() const;
112 
114  void SetIsAuthenticated(bool IsAuthenticated);
115 
117  bool GetIsAuthenticated() const;
118 
120  void SetServer(const char* Server);
121 
123  const char* GetServer() const;
124 
129 
135 
138 
141 
145 
148 
151 
154 
157 
160 
163 
166 
169 
172 
175 
178 
181 
184 
188 
191 
194 
228 
231 
235 
241 
244 
265 
272 
275 
278 
283 
286 
288 
290 
292 
294 
296 
298 
300 
302 
310 
311 
316 
319 
321 
323 
325 
327 
332 
333 
338 
351 
361 
370 
378 
381 
383 
387 
395 
396 
402 
412 
418 
424 
432 
437 
443 
446 
450 
456 
477 
478 
486 
507 
508 
515 
521 
535 
539 
545 
551 
558 
566 
568 
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: ResourceEmbedded.h:17
bool IsValid()
check if object is invalid.
Definition: ParaScriptingJabberClient.h:52
NPL interface of a Jabber-XMPP client proxy.
Definition: IParaWebService.h:108
Definition: PEtypes.h:507
for luabind, The main drawback of this approach is that the compilation time will increase for the fi...
Definition: luaSQLite.cpp:1971
NPL Jabber Client class.
Definition: ParaScriptingJabberClient.h:42