Main Page | Data Structures | File List | Data Fields | Globals

actiondbus.h File Reference

#include <glib-object.h>
#include "actiondialog.h"

Include dependency graph for actiondbus.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ALARMD_TYPE_ACTION_DBUS   (alarmd_action_dbus_get_type())
 This file is part of alarmd.
#define ALARMD_ACTION_DBUS(object)   (G_TYPE_CHECK_INSTANCE_CAST((object), ALARMD_TYPE_ACTION_DBUS, AlarmdActionDbus))
#define ALARMD_ACTION_DBUS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), ALARMD_TYPE_ACTION_DBUS, AlarmdActionDbusClass))
#define ALARMD_IS_ACTION_DBUS(object)   (G_TYPE_CHECK_INSTANCE_TYPE((object), ALARMD_TYPE_ACTION_DBUS))
#define ALARMD_IS_ACTION_DBUS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), ALARMD_TYPE_ACTION_DBUS))
#define ALARMD_ACTION_DBUS_GET_CLASS(object)   (G_TYPE_INSTANCE_GET_CLASS((object), ALARMD_TYPE_ACTION_DBUS, AlarmdActionDbusClass))

Typedefs

typedef _AlarmdActionDbus AlarmdActionDbus
typedef _AlarmdActionDbusClass AlarmdActionDbusClass

Functions

GType alarmd_action_dbus_get_type (void)
 SECTION:actiondbus : An action type that sends a DBus message when launched.
AlarmdActionalarmd_action_dbus_new (void)
 alarmd_action_dbus_new:


Define Documentation

#define ALARMD_ACTION_DBUS object   )     (G_TYPE_CHECK_INSTANCE_CAST((object), ALARMD_TYPE_ACTION_DBUS, AlarmdActionDbus))
 

Definition at line 29 of file actiondbus.h.

#define ALARMD_ACTION_DBUS_CLASS klass   )     (G_TYPE_CHECK_CLASS_CAST((klass), ALARMD_TYPE_ACTION_DBUS, AlarmdActionDbusClass))
 

Definition at line 30 of file actiondbus.h.

#define ALARMD_ACTION_DBUS_GET_CLASS object   )     (G_TYPE_INSTANCE_GET_CLASS((object), ALARMD_TYPE_ACTION_DBUS, AlarmdActionDbusClass))
 

Definition at line 33 of file actiondbus.h.

#define ALARMD_IS_ACTION_DBUS object   )     (G_TYPE_CHECK_INSTANCE_TYPE((object), ALARMD_TYPE_ACTION_DBUS))
 

Definition at line 31 of file actiondbus.h.

#define ALARMD_IS_ACTION_DBUS_CLASS klass   )     (G_TYPE_CHECK_CLASS_TYPE((klass), ALARMD_TYPE_ACTION_DBUS))
 

Definition at line 32 of file actiondbus.h.

#define ALARMD_TYPE_ACTION_DBUS   (alarmd_action_dbus_get_type())
 

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 28 of file actiondbus.h.

Referenced by _alarmd_action_dbus_finalize(), _alarmd_action_dbus_get_saved_properties(), and alarmd_type_init().


Typedef Documentation

typedef struct _AlarmdActionDbus AlarmdActionDbus
 

Definition at line 35 of file actiondbus.h.

typedef struct _AlarmdActionDbusClass AlarmdActionDbusClass
 

Definition at line 41 of file actiondbus.h.


Function Documentation

GType alarmd_action_dbus_get_type void   ) 
 

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.

AlarmdAction* alarmd_action_dbus_new void   ) 
 

alarmd_action_dbus_new:

Creates new alarmd dbus action object. Returns: Newly created AlarmdActionDbus.


Generated on Thu Dec 21 18:23:30 2006 for Alarmd by  doxygen 1.4.2