summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-17 10:07:18 +0100
committerraveit65 <[email protected]>2020-11-26 11:50:18 +0100
commit921920e1dc19da3f7a6c50e7f6add9f4b42aa6ab (patch)
tree06400a1c76c6d24426f936f72edc92c8e043c0c8 /src/common
parentc1dd04d294e329da95c515d7f5a9ac7a00d269cc (diff)
downloadmate-notification-daemon-921920e1dc19da3f7a6c50e7f6add9f4b42aa6ab.tar.bz2
mate-notification-daemon-921920e1dc19da3f7a6c50e7f6add9f4b42aa6ab.tar.xz
Group common constants in a single file
Diffstat (limited to 'src/common')
-rw-r--r--src/common/constants.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/common/constants.h b/src/common/constants.h
new file mode 100644
index 0000000..af824f7
--- /dev/null
+++ b/src/common/constants.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2020 Robert Buj <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
+#ifndef _CONSTANTS_H_
+#define _CONSTANTS_H_
+
+#define GSETTINGS_SCHEMA "org.mate.NotificationDaemon"
+#define GSETTINGS_KEY_THEME "theme"
+#define GSETTINGS_KEY_DO_NOT_DISTURB "do-not-disturb"
+#define GSETTINGS_KEY_MONITOR_NUMBER "monitor-number"
+#define GSETTINGS_KEY_POPUP_LOCATION "popup-location"
+#define GSETTINGS_KEY_SOUND_ENABLED "sound-enabled"
+#define GSETTINGS_KEY_USE_ACTIVE_MONITOR "use-active-monitor"
+#define NOTIFICATION_BUS_NAME "org.freedesktop.Notifications"
+#define NOTIFICATION_BUS_PATH "/org/freedesktop/Notifications"
+
+#endif /* _CONSTANTS_H_ */