Share Flags

- now only the directories with flag "browsable" on are dispatched to friends
  - when switching flags, directories are re-sent to friends

Still to do:
  - turtle search only files with "Network wide" flag on
  - test what happens when 2 directories have the same base name
  - display own directories by calling FileIndexMonitor instead of FileIndexStore

Warning: at this time, directories that are not browsable do not appear in the Files dialog under "my directories".



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1506 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-08-09 16:32:31 +00:00
parent 6928b3c426
commit 4157321000
6 changed files with 168 additions and 111 deletions

View file

@ -106,6 +106,8 @@ class FileIndexMonitor: public CacheSource, public RsThread
/* util fns */
private:
// saves file indexs and update the cache.
void saveFileIndexes() ;
/* the mutex should be locked before calling... these. */
std::string locked_findRealRoot(std::string base) const;