Changeset View
Changeset View
Standalone View
Standalone View
source/lobby/IXmppClient.h
Show All 9 Lines | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#if CONFIG2_LOBBY | |||||
#ifndef IXMPPCLIENT_H | #ifndef IXMPPCLIENT_H | ||||
#define IXMPPCLIENT_H | #define IXMPPCLIENT_H | ||||
#include "scriptinterface/ScriptTypes.h" | #include "scriptinterface/ScriptTypes.h" | ||||
class ScriptInterface; | class ScriptInterface; | ||||
namespace StunClient { | namespace StunClient { | ||||
struct StunEndpoint; | struct StunEndpoint; | ||||
Show All 36 Lines | public: | ||||
virtual void SendMUCMessage(const std::string& message) = 0; | virtual void SendMUCMessage(const std::string& message) = 0; | ||||
virtual void SendStunEndpointToHost(const StunClient::StunEndpoint& stunEndpoint, const std::string& hostJID) = 0; | virtual void SendStunEndpointToHost(const StunClient::StunEndpoint& stunEndpoint, const std::string& hostJID) = 0; | ||||
}; | }; | ||||
extern IXmppClient *g_XmppClient; | extern IXmppClient *g_XmppClient; | ||||
extern bool g_rankedGame; | extern bool g_rankedGame; | ||||
#endif // XMPPCLIENT_H | #endif // XMPPCLIENT_H | ||||
#endif // CONFIG2_LOBBY |
Wildfire Games · Phabricator