Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/lobby/glooxwrapper/glooxwrapper.cpp
Show First 20 Lines • Show All 210 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
virtual void handleRegistrationResult(const gloox::JID& from, gloox::RegistrationResult regResult) | virtual void handleRegistrationResult(const gloox::JID& from, gloox::RegistrationResult regResult) | ||||
{ | { | ||||
glooxwrapper::JID fromWrapped(from); | glooxwrapper::JID fromWrapped(from); | ||||
m_Wrapped->handleRegistrationResult(fromWrapped, regResult); | m_Wrapped->handleRegistrationResult(fromWrapped, regResult); | ||||
} | } | ||||
virtual void handleDataForm(const gloox::JID& from, const gloox::DataForm& UNUSED(form)) | virtual void handleDataForm(const gloox::JID& UNUSED(from), const gloox::DataForm& UNUSED(form)) | ||||
{ | { | ||||
glooxwrapper::JID fromWrapped(from); | |||||
/* DataForm not supported */ | /* DataForm not supported */ | ||||
m_Wrapped->handleDataForm(fromWrapped, *(glooxwrapper::DataForm*)NULL); | |||||
} | } | ||||
virtual void handleOOB(const gloox::JID& from, const gloox::OOB& UNUSED(oob)) | virtual void handleOOB(const gloox::JID& UNUSED(from), const gloox::OOB& UNUSED(oob)) | ||||
{ | { | ||||
glooxwrapper::JID fromWrapped(from); | |||||
/* OOB not supported */ | /* OOB not supported */ | ||||
m_Wrapped->handleOOB(fromWrapped, *(glooxwrapper::OOB*)NULL); | |||||
} | } | ||||
}; | }; | ||||
class StanzaExtensionWrapper : public gloox::StanzaExtension | class StanzaExtensionWrapper : public gloox::StanzaExtension | ||||
{ | { | ||||
public: | public: | ||||
const glooxwrapper::StanzaExtension* m_Wrapped; | const glooxwrapper::StanzaExtension* m_Wrapped; | ||||
bool m_Owned; | bool m_Owned; | ||||
▲ Show 20 Lines • Show All 675 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator