summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-01-13 19:32:54 +0100
committerTannin <devnull@localhost>2014-01-13 19:32:54 +0100
commita083a2d3b6506ab95d3b18ab0ffa7751750e0249 (patch)
tree1bb333c8c8b1df4889f65dc383c25e37c6046289 /src/shared
parentdb09b806b9e765b5cb49a9a80f74a4440fff3027 (diff)
- implemented hook for NtQueryDirectoryFile
- saves list is now automatically updated on FS changes - optimization: data tree widget is no longer filled completely at once but one directory at a time - bugfix: pending downloads were not removed from list after a failed nxm request - bugfix: there was still a nmm.nexusmods.com link - bugfix: the text "alpha" in version strings wasn't interpreted correctly
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/directoryentry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/directoryentry.h b/src/shared/directoryentry.h
index ad5d179b..15af5e9e 100644
--- a/src/shared/directoryentry.h
+++ b/src/shared/directoryentry.h
@@ -205,6 +205,8 @@ public:
void clear();
bool isPopulated() const { return m_Populated; }
+ bool isEmpty() const { return (m_Files.size() == 0) && (m_SubDirectories.size() == 0); }
+
const DirectoryEntry *getParent() const { return m_Parent; }
// add files to this directory (and subdirectories) from the specified origin. That origin may exist or not