mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 18:15:18 -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
|
@ -363,9 +363,9 @@ RsSerialiser *ftExtraList::setupSerialiser()
|
|||
return rss;
|
||||
}
|
||||
|
||||
std::list<RsItem *> ftExtraList::saveList(bool &cleanup)
|
||||
bool ftExtraList::saveList(bool &cleanup, std::list<RsItem *>& sList)
|
||||
{
|
||||
std::list<RsItem *> sList;
|
||||
|
||||
|
||||
cleanup = true;
|
||||
|
||||
|
@ -397,11 +397,11 @@ std::list<RsItem *> ftExtraList::saveList(bool &cleanup)
|
|||
sList.push_back(fi);
|
||||
}
|
||||
|
||||
return sList;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool ftExtraList::loadList(std::list<RsItem *> load)
|
||||
bool ftExtraList::loadList(std::list<RsItem *>& load)
|
||||
{
|
||||
/* for each item, check it exists ....
|
||||
* - remove any that are dead (or flag?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue