mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-14 20:12:29 -04:00
Basic methods and a bit of interface for chat lobby.
Next: - chat lobby algorithmics (cache+broadcast system) - invitation handling - specification of chat lobby window with list of known/unknown participants git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-ChatLobby@4685 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d9244225b7
commit
5cdc36d730
9 changed files with 1137 additions and 116 deletions
|
@ -260,3 +260,17 @@ void p3Msgs::setCustomStateString(const std::string& state_string)
|
|||
mChatSrv->setOwnCustomStateString(state_string) ;
|
||||
}
|
||||
|
||||
bool p3Msgs::sendLobbyChat(const std::wstring& msg, const ChatLobbyId& id)
|
||||
{
|
||||
return mChatSrv->sendLobbyChat(msg,id) ;
|
||||
}
|
||||
void p3Msgs::getChatLobbyList(std::list<ChatLobbyInfo>& linfos)
|
||||
{
|
||||
mChatSrv->getChatLobbyList(linfos) ;
|
||||
}
|
||||
void p3Msgs::invitePeerToLobby(const ChatLobbyId& lobby_id, const std::string& peer_id)
|
||||
{
|
||||
mChatSrv->invitePeerToLobby(lobby_id,peer_id) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -167,6 +167,9 @@ class p3Msgs: public RsMsgs
|
|||
|
||||
/****************************************/
|
||||
|
||||
virtual bool sendLobbyChat(const std::wstring&, const ChatLobbyId&) ;
|
||||
virtual void getChatLobbyList(std::list<ChatLobbyInfo, std::allocator<ChatLobbyInfo> >&) ;
|
||||
virtual void invitePeerToLobby(const ChatLobbyId&, const std::string&) ;
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue