mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 01:25:17 -04:00
removed channel delete feature
added optimisation suggestion with load/savelist git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3920 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d3a6f7316c
commit
2f559dae96
37 changed files with 133 additions and 388 deletions
|
@ -282,12 +282,9 @@ int p3MsgService::checkOutgoingMessages()
|
|||
|
||||
|
||||
|
||||
std::list<RsItem*> p3MsgService::saveList(bool& cleanup)
|
||||
bool p3MsgService::saveList(bool& cleanup, std::list<RsItem*>& itemList)
|
||||
{
|
||||
|
||||
|
||||
std::list<RsItem*> itemList;
|
||||
|
||||
std::map<uint32_t, RsMsgItem *>::iterator mit;
|
||||
std::map<uint32_t, RsMsgTagType* >::iterator mit2;
|
||||
std::map<uint32_t, RsMsgTags* >::iterator mit3;
|
||||
|
@ -319,7 +316,7 @@ std::list<RsItem*> p3MsgService::saveList(bool& cleanup)
|
|||
for(mit4 = mParentId.begin(); mit4 != mParentId.end(); mit4++)
|
||||
itemList.push_back(mit4->second);
|
||||
|
||||
return itemList;
|
||||
return true;
|
||||
}
|
||||
|
||||
void p3MsgService::saveDone()
|
||||
|
@ -376,7 +373,7 @@ void p3MsgService::initStandardTagTypes()
|
|||
}
|
||||
}
|
||||
|
||||
bool p3MsgService::loadList(std::list<RsItem*> load)
|
||||
bool p3MsgService::loadList(std::list<RsItem*>& load)
|
||||
{
|
||||
RsMsgItem *mitem;
|
||||
RsMsgTagType* mtt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue