mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
added new msg tag feature for retroshare messages.
update rsmsg iface so need full recompile for gui added serialiser test for new tag rsitems git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c6537bbe09
commit
331ed93720
10 changed files with 564 additions and 21 deletions
|
@ -66,6 +66,11 @@ bool MessageSend(MessageInfo &info);
|
|||
bool MessageToDraft(MessageInfo &info);
|
||||
bool MessageToTrash(std::string mid, bool bTrash);
|
||||
|
||||
bool MessageGetTagTypes(MsgTagType& tags);
|
||||
bool MessageGetMsgTag(std::string msgId, MsgTagInfo& info);
|
||||
|
||||
bool MessageSetTagType(std::string& text, uint32_t tag_id, uint32_t rgb_color);
|
||||
bool MessageSetMsgTag(MsgTagInfo& );
|
||||
|
||||
void loadWelcomeMsg(); /* startup message */
|
||||
|
||||
|
@ -109,6 +114,12 @@ RsMsgItem *initMIRsMsg(MessageInfo &info, std::string to);
|
|||
/* List of notifications to post via Toaster */
|
||||
std::list<MsgInfoSummary> msgNotifications;
|
||||
|
||||
/* maps for tags types and msg tags */
|
||||
|
||||
std::map<uint32_t, RsMsgTagType*> mTags;
|
||||
std::map<std::string, RsMsgTags*> mMsgTags;
|
||||
|
||||
|
||||
Indicator msgChanged;
|
||||
uint32_t mMsgUniqueId;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue