#include <glib-object.h>
#include <glib.h>
#include <dbus/dbus.h>
#include <osso-log.h>
#include "include/alarm_event.h"
#include "actiondbus.h"
#include "rpc-dbus.h"
#include "rpc-systemui.h"
#include "debug.h"
Include dependency graph for actiondbus.c:
Go to the source code of this file.
Defines | |
#define | ALARMD_ACTION_DBUS_GET_PRIVATE(obj) |
Typedefs | |
typedef _AlarmdActionDbusPrivate | AlarmdActionDbusPrivate |
Enumerations | |
enum | properties { PROP_INTERFACE = 1, PROP_SERVICE, PROP_PATH, PROP_NAME } |
enum | saved_props { S_INTERFACE, S_SERVICE, S_PATH, S_NAME, S_COUNT } |
Functions | |
static void | alarmd_action_dbus_init (AlarmdActionDbus *action_dbus) |
This file is part of alarmd. | |
static void | alarmd_action_dbus_class_init (AlarmdActionDbusClass *klass) |
static void | _alarmd_action_dbus_set_property (GObject *object, guint param_id, const GValue *value, GParamSpec *pspec) |
static void | _alarmd_action_dbus_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec) |
static void | _alarmd_action_dbus_do_action (AlarmdActionDialog *action) |
static void | _alarmd_action_dbus_finalize (GObject *object) |
static GSList * | _alarmd_action_dbus_get_saved_properties (void) |
GType | alarmd_action_dbus_get_type (void) |
SECTION:actiondbus : An action type that sends a DBus message when launched. | |
Variables | |
static const gchar *const | saved_properties [S_COUNT] |
|
Value: (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \ ALARMD_TYPE_ACTION_DBUS, AlarmdActionDbusPrivate)); Definition at line 78 of file actiondbus.c. Referenced by _alarmd_action_dbus_do_action(), _alarmd_action_dbus_finalize(), _alarmd_action_dbus_get_property(), _alarmd_action_dbus_set_property(), and alarmd_action_dbus_init(). |
|
Definition at line 70 of file actiondbus.c. |
|
Definition at line 48 of file actiondbus.c. |
|
Definition at line 55 of file actiondbus.c. |
|
Definition at line 260 of file actiondbus.c. References ACK_NORMAL, ALARM_EVENT_ACTIVATION, ALARM_EVENT_SYSTEM, ALARMD_ACTION, alarmd_action_acknowledge(), ALARMD_ACTION_DBUS_GET_PRIVATE, conn, dbus_do_call(), ENTER_FUNC, get_dbus_connection(), _AlarmdActionDbusPrivate::interface, LEAVE_FUNC, _AlarmdActionDbusPrivate::name, _AlarmdActionDbusPrivate::path, and _AlarmdActionDbusPrivate::service. Referenced by alarmd_action_dbus_class_init(). |
|
Definition at line 238 of file actiondbus.c. References ALARMD_ACTION_DBUS_GET_PRIVATE, ALARMD_TYPE_ACTION_DBUS, ENTER_FUNC, _AlarmdActionDbusPrivate::interface, LEAVE_FUNC, _AlarmdActionDbusPrivate::name, _AlarmdActionDbusPrivate::path, and _AlarmdActionDbusPrivate::service. Referenced by alarmd_action_dbus_class_init(). |
|
Definition at line 211 of file actiondbus.c. References ALARMD_ACTION_DBUS_GET_PRIVATE, ENTER_FUNC, _AlarmdActionDbusPrivate::interface, LEAVE_FUNC, _AlarmdActionDbusPrivate::name, _AlarmdActionDbusPrivate::path, PROP_INTERFACE, PROP_NAME, PROP_PATH, PROP_SERVICE, and _AlarmdActionDbusPrivate::service. Referenced by alarmd_action_dbus_class_init(). |
|
Definition at line 282 of file actiondbus.c. References ALARMD_OBJECT_CLASS, ALARMD_TYPE_ACTION_DBUS, ENTER_FUNC, LEAVE_FUNC, S_COUNT, and saved_properties. Referenced by alarmd_action_dbus_class_init(). |
|
Definition at line 169 of file actiondbus.c. References ALARMD_ACTION_DBUS_GET_PRIVATE, ALARMD_OBJECT, alarmd_object_changed(), ENTER_FUNC, _AlarmdActionDbusPrivate::interface, LEAVE_FUNC, _AlarmdActionDbusPrivate::name, _AlarmdActionDbusPrivate::path, PROP_INTERFACE, PROP_NAME, PROP_PATH, PROP_SERVICE, and _AlarmdActionDbusPrivate::service. Referenced by alarmd_action_dbus_class_init(). |
|
|
SECTION:actiondbus : An action type that sends a DBus message when launched. : AlarmdActionDialog, #AlarmActionExec AlarmdActionDbus is a action type that, upon firing, sends a message over dbus. The message may be sent on session or system bus. The semantics of this message are determined by properties AlarmdActionDbus:interface, AlarmdActionDbus:name, AlarmdActionDbus:service, AlarmdActionDbus:path and inherited property AlarmdActionDialog:flags. AlarmdActionDbus also includes the dialog showing properties of AlarmdActionDialog, see its documentation for details. The rest of the action is only run if the dialog is closed; so on snooze the action will be delayed too. Definition at line 82 of file actiondbus.c. References alarmd_action_dbus_class_init(), alarmd_action_dbus_init(), and ALARMD_TYPE_ACTION_DIALOG. |
|
This file is part of alarmd. Contact Person: David Weinehall <david.weinehall@nokia.com> Copyright (C) 2006 Nokia Corporation alarmd and libalarm 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. alarmd and libalarm 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 Definition at line 157 of file actiondbus.c. References ALARMD_ACTION_DBUS_GET_PRIVATE, ENTER_FUNC, _AlarmdActionDbusPrivate::interface, LEAVE_FUNC, _AlarmdActionDbusPrivate::name, _AlarmdActionDbusPrivate::path, and _AlarmdActionDbusPrivate::service. Referenced by alarmd_action_dbus_get_type(). |
|
Initial value: { "interface", "service", "path", "name" } Definition at line 63 of file actiondbus.c. |