From cd220a213060b6211330699ec6a3830593945a24 Mon Sep 17 00:00:00 2001
From: "Javier S. Pedro" <maemo@javispedro.com>
Date: Fri, 2 Dec 2011 20:31:12 +0100
Subject: moving some resources to the filesystem

---
 libsowatch/sowatch_global.h | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

(limited to 'libsowatch')

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"
-- 
cgit v1.2.3