Changeset View
Changeset View
Standalone View
Standalone View
source/lobby/StanzaExtensions.h
Show All 35 Lines | |||||
/// Global Profile Extension | /// Global Profile Extension | ||||
#define EXTPROFILEQUERY 1406 | #define EXTPROFILEQUERY 1406 | ||||
#define XMLNS_PROFILE "jabber:iq:profile" | #define XMLNS_PROFILE "jabber:iq:profile" | ||||
/// Global Lobby Authentication Extension | /// Global Lobby Authentication Extension | ||||
#define EXTLOBBYAUTH 1407 | #define EXTLOBBYAUTH 1407 | ||||
#define XMLNS_LOBBYAUTH "jabber:iq:lobbyauth" | #define XMLNS_LOBBYAUTH "jabber:iq:lobbyauth" | ||||
#define EXTCONNECTIONDATA 1408 | |||||
#define XMLNS_CONNECTIONDATA "jabber:iq:connectiondata" | |||||
class ConnectionData : public glooxwrapper::StanzaExtension | |||||
{ | |||||
public: | |||||
ConnectionData(const glooxwrapper::Tag* tag = 0); | |||||
// Following four methods are all required by gloox | |||||
virtual StanzaExtension* newInstance(const glooxwrapper::Tag* tag) const | |||||
{ | |||||
return new ConnectionData(tag); | |||||
} | |||||
virtual const glooxwrapper::string& filterString() const; | |||||
virtual glooxwrapper::Tag* tag() const; | |||||
virtual glooxwrapper::StanzaExtension* clone() const; | |||||
glooxwrapper::string m_Ip; | |||||
Stan: I assume you cannot use enet types and booleans ? | |||||
Not Done Inline Actions? Stan: ? | |||||
Done Inline Actionsdoes not Silier: does not | |||||
glooxwrapper::string m_Port; | |||||
glooxwrapper::string m_UseSTUN; | |||||
glooxwrapper::string m_Password; | |||||
glooxwrapper::string m_Error; | |||||
}; | |||||
class GameReport : public glooxwrapper::StanzaExtension | class GameReport : public glooxwrapper::StanzaExtension | ||||
{ | { | ||||
public: | public: | ||||
GameReport(const glooxwrapper::Tag* tag = 0); | GameReport(const glooxwrapper::Tag* tag = 0); | ||||
// Following four methods are all required by gloox | // Following four methods are all required by gloox | ||||
virtual StanzaExtension* newInstance(const glooxwrapper::Tag* tag) const | virtual StanzaExtension* newInstance(const glooxwrapper::Tag* tag) const | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
I assume you cannot use enet types and booleans ?