summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-08-20 17:14:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-08-20 18:25:17 (GMT)
commitb3dc968b7c424351bac87bfed42681bd0500d86c (patch)
tree1f3ec7ee8f8b3e9d3e274ba77684b8606dc96377 /Swiften/Application/ApplicationPathProvider.h
parent5fa4903a7c1c7a7733afdd1d6c4c5dcccec97b19 (diff)
downloadswift-contrib-b3dc968b7c424351bac87bfed42681bd0500d86c.zip
swift-contrib-b3dc968b7c424351bac87bfed42681bd0500d86c.tar.bz2
Don't bundle sounds.
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;
}