diff options
| author | Tannin <devnull@localhost> | 2013-10-11 23:03:49 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-11 23:03:49 +0200 |
| commit | 382226bb46541f07e62ce689cfeaf395aa673a44 (patch) | |
| tree | 97e35547f78524c6291906ce19c94699436b39b0 /src/shared/directoryentry.cpp | |
| parent | cffd9eb4e21f0ddcddca68d8eb0f1c80c8ac6ae1 (diff) | |
- added new plugin to test if fnis needs to be run
- some functionality to the plugin interface to enable them to search for files&directories in the virtual FS (rudimentary atm)
- functionality for plugins to react to application being started from MO
- broken ESPs are no longer reported as popup windows but only in the log file
- bugfix: plugins couldn't store persistent data if they had no user-editable settings
Diffstat (limited to 'src/shared/directoryentry.cpp')
| -rw-r--r-- | src/shared/directoryentry.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/directoryentry.cpp b/src/shared/directoryentry.cpp index 8380181f..b3a12498 100644 --- a/src/shared/directoryentry.cpp +++ b/src/shared/directoryentry.cpp @@ -746,6 +746,12 @@ DirectoryEntry *DirectoryEntry::findSubDirectory(const std::wstring &name) const }
+DirectoryEntry *DirectoryEntry::findSubDirectoryRecursive(const std::wstring &path)
+{
+ return getSubDirectoryRecursive(path, false, -1);
+}
+
+
const FileEntry::Ptr DirectoryEntry::findFile(const std::wstring &name)
{
auto iter = m_Files.find(name);
|
