include/systemui/alarm_dialog-dbus-names.h File Reference

DBus Interface to the System UI Alarm plugin. More...

Go to the source code of this file.

Defines

#define SYSTEMUI_ALARM_OPEN_REQ   "alarm_open"
 Requests to show an alarm or powerup dialog.
#define SYSTEMUI_ALARM_CLOSE_REQ   "alarm_close"
 Requests to close currently showin alarm dialog.

Enumerations

enum  alarm_dialog_status { ALARM_DIALOG_RESPONSE_SNOOZE = 1, ALARM_DIALOG_RESPONSE_DISMISS, ALARM_DIALOG_RESPONSE_POWERUP, ALARM_DIALOG_RESPONSE_POWERDOWN }
enum  alarm_mode { ALARM_MODE_NORMAL, ALARM_MODE_NOSNOOZE, ALARM_MODE_SWITCHON }


Detailed Description

DBus Interface to the System UI Alarm plugin.

This file is part of osso-systemui-dbus-dev

Copyright (C) 2004-2006 Nokia Corporation.

Contact person: David Weinehall <david.weinehall@nokia.com>

These headers are free software; you can redistribute them and/or modify them under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

These headers are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this software; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Define Documentation

#define SYSTEMUI_ALARM_OPEN_REQ   "alarm_open"
 

Requests to show an alarm or powerup dialog.

The callback will be called with a dbus_int32_t with value from alarm_dialog_status.

Parameters:
cb_service dbus_string_t Service to be called when dialog is closed.
cb_path dbus_string_t Path to be called when dialog is closed.
cb_iface dbus_string_t Interface to be called when dialog is closed.
cb_method dbus_string_t Method to be called when dialog is closed.
mode dbus_uint32_t Mode of the dialog with value from alarm_mode.
message dbus_string_t Message shown in the dialog. (Only if mode != ALARM_MODE_SWITCHON)
sound dbus_string_t Sound played when the dialog is shown. (Only if mode != ALARM_MODE_SWITCHON)
image dbus_string_t Image shown in the dialog (icon name or full path to file. (Only if mode != ALARM_MODE_SWITCHON, optional)
title dbus_string_t Title of the dialog. (Only if mode != ALARM_MODE_SWITCHON, optional)
time dbus_uint32_t Time to show in the dialog (as time_t). (Only if mode != ALARM_MODE_SWITCHON, optional)
Returns:
dbus_int32_t GTK_RESPONSE_ACCEPT on success, GTK_RESPONSE_REJECT on failure.


Generated on Tue Oct 24 16:41:21 2006 for System UI (DBus Interface) by  doxygen 1.4.6