summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Application/ApplicationPathProvider.h')
-rw-r--r--Swiften/Application/ApplicationPathProvider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/Application/ApplicationPathProvider.h b/Swiften/Application/ApplicationPathProvider.h
index cf97299..e9c0864 100644
--- a/Swiften/Application/ApplicationPathProvider.h
+++ b/Swiften/Application/ApplicationPathProvider.h
@@ -7,6 +7,7 @@
#pragma once
#include <boost/filesystem.hpp>
+#include <vector>
#include "Swiften/Base/String.h"
@@ -22,8 +23,10 @@ namespace Swift {
virtual boost::filesystem::path getSettingsDir() const = 0;
virtual boost::filesystem::path getExecutableDir() const = 0;
boost::filesystem::path getProfileDir(const String& profile) const;
+ boost::filesystem::path getResourcePath(const String& resource) const;
protected:
+ virtual std::vector<boost::filesystem::path> getResourceDirs() const = 0;
const String& getApplicationName() const {
return applicationName;
}