mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
I forgot to commit this one
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@960 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
cdd7377280
commit
2212393b9e
1 changed files with 9 additions and 2 deletions
|
@ -90,8 +90,9 @@ class MsgInfoSummary
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define RS_CHAT_PUBLIC 0x0001
|
#define RS_CHAT_PUBLIC 0x0001
|
||||||
#define RS_CHAT_PRIVATE 0x0002
|
#define RS_CHAT_PRIVATE 0x0002
|
||||||
|
#define RS_CHAT_AVATAR_AVAILABLE 0x0004
|
||||||
|
|
||||||
class ChatInfo
|
class ChatInfo
|
||||||
{
|
{
|
||||||
|
@ -131,6 +132,12 @@ virtual bool chatAvailable() = 0;
|
||||||
virtual bool ChatSend(ChatInfo &ci) = 0;
|
virtual bool ChatSend(ChatInfo &ci) = 0;
|
||||||
virtual bool getNewChat(std::list<ChatInfo> &chats) = 0;
|
virtual bool getNewChat(std::list<ChatInfo> &chats) = 0;
|
||||||
|
|
||||||
|
// get avatar data for peer pid
|
||||||
|
virtual void getAvatarData(std::string pid,unsigned char *& data,int& size) = 0 ;
|
||||||
|
// set own avatar data
|
||||||
|
virtual void setOwnAvatarData(const unsigned char *data,int size) = 0 ;
|
||||||
|
virtual void getOwnAvatarData(unsigned char *& data,int& size) = 0 ;
|
||||||
|
|
||||||
/****************************************/
|
/****************************************/
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue