mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 22:52:54 -04:00
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:
parent
dd7e074791
commit
163c0e96a7
1 changed files with 7 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
||||||
class ChannelInfo
|
class ChannelInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ChannelInfo() {}
|
ChannelInfo() : pngChanImage(NULL), pngImageLen(0) {}
|
||||||
std::string channelId;
|
std::string channelId;
|
||||||
std::wstring channelName;
|
std::wstring channelName;
|
||||||
std::wstring channelDesc;
|
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;
|
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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue