TDME2
1.9.200
src
tdme
engine
logics
NewClientLogic.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include <
tdme/tdme.h
>
6
#include <
tdme/engine/logics/fwd-tdme.h
>
7
8
using
std::string;
9
10
/**
11
* New client logic interface
12
* @author Andreas Drewke
13
*/
14
struct
tdme::engine::logics::NewClientLogic
{
15
16
/**
17
* Public destructor
18
*/
19
virtual
~NewClientLogic
() {}
20
21
/**
22
* Handle new client
23
* @param clientId client id
24
* @param hostName host name
25
* @return success
26
*/
27
virtual
bool
handleNewClient
(
const
string
& clientId,
const
string
& hostName) = 0;
28
29
};
fwd-tdme.h
tdme::engine::logics::NewClientLogic
New client logic interface.
Definition:
NewClientLogic.h:14
tdme::engine::logics::NewClientLogic::~NewClientLogic
virtual ~NewClientLogic()
Public destructor.
Definition:
NewClientLogic.h:19
tdme::engine::logics::NewClientLogic::handleNewClient
virtual bool handleNewClient(const string &clientId, const string &hostName)=0
Handle new client.
tdme.h
Generated by
1.9.1