summaryrefslogtreecommitdiff
path: root/libsowatch
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-12-02 20:31:12 +0100
committerJavier S. Pedro <maemo@javispedro.com>2011-12-02 20:31:12 +0100
commitcd220a213060b6211330699ec6a3830593945a24 (patch)
treeffc66db575419828da9262c9ba07e1204075767f /libsowatch
parent88d6c8d388bd73e1f2ee1c23df221f8d3c6208d9 (diff)
downloadsowatch-cd220a213060b6211330699ec6a3830593945a24.tar.gz
sowatch-cd220a213060b6211330699ec6a3830593945a24.zip
moving some resources to the filesystem
Diffstat (limited to 'libsowatch')
-rw-r--r--libsowatch/sowatch_global.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libsowatch/sowatch_global.h b/libsowatch/sowatch_global.h
index c317ba4..510a38a 100644
--- a/libsowatch/sowatch_global.h
+++ b/libsowatch/sowatch_global.h
@@ -11,11 +11,15 @@
#endif
#if defined(MEEGO_VERSION_MAJOR) || defined(Q_WS_MAEMO_5)
-# define SOWATCH_PLUGINS_DIR "/opt/sowatch/lib"
+# define SOWATCH_PLUGINS_DIR "/opt/sowatch/lib"
+# define SOWATCH_RESOURCES_DIR "/opt/sowatch/share"
+# define SOWATCH_QML_DIR "/opt/sowatch/qml"
#elif defined(Q_OS_LINUX)
-# define SOWATCH_PLUGINS_DIR "/usr/lib/sowatch"
+# define SOWATCH_PLUGINS_DIR "/usr/lib/sowatch"
+# define SOWATCH_RESOURCES_DIR "/usr/share/sowatch"
+# define SOWATCH_QML_DIR SOWATCH_RESOURCES_DIR "/qml"
#else
-# error Please define a path for your platform
+# error Please define the paths for your platform
#endif
#define SOWATCH_DRIVERS_DIR SOWATCH_PLUGINS_DIR "/drivers"