added edit channel info feature

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3059 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2010-06-04 22:50:39 +00:00
parent dd7e074791
commit 163c0e96a7

View File

@ -41,7 +41,7 @@
class ChannelInfo
{
public:
ChannelInfo() {}
ChannelInfo() : pngChanImage(NULL), pngImageLen(0) {}
std::string channelId;
std::wstring channelName;
std::wstring channelDesc;
@ -195,6 +195,12 @@ virtual bool channelRestoreKeys(std::string chId) = 0;
virtual bool channelShareKeys(std::string chId, std::list<std::string>& peers) = 0;
/****************************************/
/*!
* allows peers to change information for the channel:
* can only change channel image, descriptions and name
*
*/
virtual bool channelEditInfo(std::string chId, ChannelInfo &ci) = 0;
};