mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-24 00:31:32 -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
|
@ -205,9 +205,9 @@ RsSerialiser *ftFiMonitor::setupSerialiser()
|
|||
const std::string hash_cache_duration_ss("HASH_CACHE_DURATION");
|
||||
const std::string hash_cache_ss("HASH_CACHE");
|
||||
|
||||
std::list<RsItem *> ftFiMonitor::saveList(bool &cleanup)
|
||||
bool ftFiMonitor::saveList(bool &cleanup, std::list<RsItem *>& sList)
|
||||
{
|
||||
std::list<RsItem *> sList;
|
||||
|
||||
|
||||
cleanup = true;
|
||||
|
||||
|
@ -256,11 +256,11 @@ std::list<RsItem *> ftFiMonitor::saveList(bool &cleanup)
|
|||
/* Add KeyValue to saveList */
|
||||
sList.push_back(rskv);
|
||||
|
||||
return sList;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool ftFiMonitor::loadList(std::list<RsItem *> load)
|
||||
bool ftFiMonitor::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