From 921920e1dc19da3f7a6c50e7f6add9f4b42aa6ab Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 17 Nov 2020 10:07:18 +0100 Subject: Group common constants in a single file --- src/common/constants.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/common/constants.h (limited to 'src/common') 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 + * + * 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_ */ -- cgit v1.2.1