00001 /* @file alarm_dialog-dbus-names.h 00002 * DBus Interface to the System UI Alarm plugin 00003 * <p> 00004 * This file is part of osso-systemui-dbus-dev 00005 * <p> 00006 * Copyright (C) 2004-2006 Nokia Corporation. 00007 * <p> 00008 * Contact person: David Weinehall <david.weinehall@nokia.com> 00009 * 00010 * These headers are free software; you can redistribute them 00011 * and/or modify them under the terms of the GNU Lesser General Public 00012 * License version 2.1 as published by the Free Software Foundation. 00013 * 00014 * These headers are distributed in the hope that they will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this software; if not, write to the Free 00021 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00022 * 02110-1301 USA 00023 */ 00024 00025 #ifndef _SYSTEMUI_ALARM_DIALOG_DBUS_NAMES_H 00026 #define _SYSTEMUI_ALARM_DIALOG_DBUS_NAMES_H 00027 00028 typedef enum { 00029 ALARM_DIALOG_RESPONSE_SNOOZE =1, 00030 ALARM_DIALOG_RESPONSE_DISMISS, 00031 ALARM_DIALOG_RESPONSE_POWERUP, 00032 ALARM_DIALOG_RESPONSE_POWERDOWN, 00033 ALARM_DIALOG_ON_SCREEN, 00034 ALARM_DIALOG_NOT_ON_SCREEN 00035 } alarm_dialog_status; 00036 00037 typedef enum { 00038 ALARM_MODE_NORMAL, 00039 ALARM_MODE_NOSNOOZE, 00040 ALARM_MODE_SWITCHON 00041 } alarm_mode; 00042 00068 #define SYSTEMUI_ALARM_OPEN_REQ "alarm_open" 00069 00073 #define SYSTEMUI_ALARM_CLOSE_REQ "alarm_close" 00074 00075 00079 #define SYSTEMUI_ALARM_DIALOG_STATUS_SIG "alarm_dialog_status" 00080 00081 00082 #endif