mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 21:40:36 -04:00
* Addition of the basic Games Launcher - used to organise networked games with peers.
* New external interface for launcher (rsiface/rsgame.h) * changed pqiservice type Ids from int -> uint32_t. * added NO_DELETE option to pqistreamer. * added HASHDATA flag for BinInterfaces git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ad8562467f
commit
0712590a99
13 changed files with 1527 additions and 12 deletions
|
@ -65,12 +65,12 @@ virtual ~pqiService() { return; }
|
|||
virtual int receive(RsRawItem *) = 0;
|
||||
virtual RsRawItem * send() = 0;
|
||||
|
||||
int getType() { return type; }
|
||||
uint32_t getType() { return type; }
|
||||
|
||||
virtual int tick() { return 0; }
|
||||
|
||||
private:
|
||||
int type;
|
||||
uint32_t type;
|
||||
};
|
||||
|
||||
#include <map>
|
||||
|
@ -90,8 +90,8 @@ int tick();
|
|||
|
||||
private:
|
||||
|
||||
std::map<int, pqiService *> services;
|
||||
std::map<int, pqiService *>::iterator rrit;
|
||||
std::map<uint32_t, pqiService *> services;
|
||||
std::map<uint32_t, pqiService *>::iterator rrit;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue