summaryrefslogtreecommitdiff
path: root/libsowatch/sowatch_global.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-09-18 04:26:20 +0200
committerJavier S. Pedro <maemo@javispedro.com>2011-09-18 04:26:20 +0200
commitc42d5abff1f5f51facc169dd593725d819c4c868 (patch)
tree9aa8bdef88bf89561c7726948541a1ba3906b81e /libsowatch/sowatch_global.h
parentf225345d4de3b198a557fe3566f9630163e76d51 (diff)
downloadsowatch-c42d5abff1f5f51facc169dd593725d819c4c868.tar.gz
sowatch-c42d5abff1f5f51facc169dd593725d819c4c868.zip
separation into lib and plugins complete
Diffstat (limited to 'libsowatch/sowatch_global.h')
-rw-r--r--libsowatch/sowatch_global.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libsowatch/sowatch_global.h b/libsowatch/sowatch_global.h
index a3b40e6..977bd53 100644
--- a/libsowatch/sowatch_global.h
+++ b/libsowatch/sowatch_global.h
@@ -9,4 +9,14 @@
# define SOWATCH_EXPORT Q_DECL_IMPORT
#endif
+#if defined(Q_WS_MAEMO_5)
+# define SOWATCH_DRIVERS_DIR "/opt/sowatch/drivers"
+# define SOWATCH_NOTIFICATIONS_DIR "/opt/sowatch/notifications"
+# define SOWATCH_WATCHLETS_DIR "/opt/sowatch/watchlets"
+#elif defined(Q_OS_LINUX)
+# define SOWATCH_DRIVERS_DIR "/usr/lib/sowatch/drivers"
+# define SOWATCH_NOTIFICATIONS_DIR "/usr/lib/sowatch/notifications"
+# define SOWATCH_WATCHLETS_DIR "/usr/lib/sowatch/watchlets"
+#endif
+
#endif // SOWATCH_GLOBAL_H