mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
fixed display of own files
This commit is contained in:
parent
ca8f95c7f7
commit
ac242ce58b
6 changed files with 155 additions and 98 deletions
|
@ -28,7 +28,7 @@ class DirectoryStorage
|
|||
|
||||
void getFileDetails(EntryIndex i) ;
|
||||
uint32_t getEntryType(const EntryIndex& indx) ; // returns DIR_TYPE_*, not the internal directory storage stuff.
|
||||
virtual bool extractData(const EntryIndex& indx,DirDetails& d) =0;
|
||||
virtual bool extractData(const EntryIndex& indx,DirDetails& d);
|
||||
|
||||
// This class allows to abstractly browse the stored directory hierarchy in a depth-first manner.
|
||||
// It gives access to sub-files and sub-directories below.
|
||||
|
@ -121,12 +121,6 @@ class RemoteDirectoryStorage: public DirectoryStorage
|
|||
public:
|
||||
RemoteDirectoryStorage(const RsPeerId& pid,const std::string& fname) : DirectoryStorage(fname,pid) {}
|
||||
virtual ~RemoteDirectoryStorage() {}
|
||||
|
||||
virtual bool extractData(const EntryIndex& indx,DirDetails& d)
|
||||
{
|
||||
NOT_IMPLEMENTED();
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
class LocalDirectoryStorage: public DirectoryStorage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue