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

actiondialog.h File Reference

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

Include dependency graph for actiondialog.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_DIALOG   (alarmd_action_dialog_get_type())
 This file is part of alarmd.
#define ALARMD_ACTION_DIALOG(object)   (G_TYPE_CHECK_INSTANCE_CAST((object), ALARMD_TYPE_ACTION_DIALOG, AlarmdActionDialog))
#define ALARMD_ACTION_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), ALARMD_TYPE_ACTION_DIALOG, AlarmdActionDialogClass))
#define ALARMD_IS_ACTION_DIALOG(object)   (G_TYPE_CHECK_INSTANCE_TYPE((object), ALARMD_TYPE_ACTION_DIALOG))
#define ALARMD_IS_ACTION_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), ALARMD_TYPE_ACTION_DIALOG))
#define ALARMD_ACTION_DIALOG_GET_CLASS(object)   (G_TYPE_INSTANCE_GET_CLASS((object), ALARMD_TYPE_ACTION_DIALOG, AlarmdActionDialogClass))

Typedefs

typedef _AlarmdActionDialog AlarmdActionDialog
typedef _AlarmdActionDialogClass AlarmdActionDialogClass

Functions

GType alarmd_action_dialog_get_type (void)
 SECTION:actiondialog : Base class for actions that show a dialog on events.
void alarmd_action_dialog_do_action (AlarmdActionDialog *dialog)
 alarmd_action_dialog_do_action: : The action that should be done.
AlarmdActionalarmd_action_dialog_new (void)
 alarmd_action_dialog_new:


Define Documentation

#define ALARMD_ACTION_DIALOG object   )     (G_TYPE_CHECK_INSTANCE_CAST((object), ALARMD_TYPE_ACTION_DIALOG, AlarmdActionDialog))
 

Definition at line 29 of file actiondialog.h.

Referenced by _alarmd_action_dialog_delayed_run(), and _alarmd_action_dialog_real_run().

#define ALARMD_ACTION_DIALOG_CLASS klass   )     (G_TYPE_CHECK_CLASS_CAST((klass), ALARMD_TYPE_ACTION_DIALOG, AlarmdActionDialogClass))
 

Definition at line 30 of file actiondialog.h.

Referenced by alarmd_action_dbus_class_init(), and alarmd_action_exec_class_init().

#define ALARMD_ACTION_DIALOG_GET_CLASS object   )     (G_TYPE_INSTANCE_GET_CLASS((object), ALARMD_TYPE_ACTION_DIALOG, AlarmdActionDialogClass))
 

Definition at line 33 of file actiondialog.h.

Referenced by alarmd_action_dialog_do_action().

#define ALARMD_IS_ACTION_DIALOG object   )     (G_TYPE_CHECK_INSTANCE_TYPE((object), ALARMD_TYPE_ACTION_DIALOG))
 

Definition at line 31 of file actiondialog.h.

#define ALARMD_IS_ACTION_DIALOG_CLASS klass   )     (G_TYPE_CHECK_CLASS_TYPE((klass), ALARMD_TYPE_ACTION_DIALOG))
 

Definition at line 32 of file actiondialog.h.

#define ALARMD_TYPE_ACTION_DIALOG   (alarmd_action_dialog_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 actiondialog.h.

Referenced by _alarmd_action_dialog_finalize(), _alarmd_action_dialog_get_saved_properties(), alarmd_action_dbus_get_type(), and alarmd_action_exec_get_type().


Typedef Documentation

typedef struct _AlarmdActionDialog AlarmdActionDialog
 

Definition at line 35 of file actiondialog.h.

typedef struct _AlarmdActionDialogClass AlarmdActionDialogClass
 

Definition at line 41 of file actiondialog.h.


Function Documentation

void alarmd_action_dialog_do_action AlarmdActionDialog dialog  ) 
 

alarmd_action_dialog_do_action: : The action that should be done.

Does the action of the AlarmdActionDialog.

Definition at line 121 of file actiondialog.c.

References ALARMD_ACTION_DIALOG_GET_CLASS, ENTER_FUNC, and LEAVE_FUNC.

Referenced by _alarmd_action_dialog_delayed_run(), and _alarmd_action_dialog_real_run().

GType alarmd_action_dialog_get_type void   ) 
 

SECTION:actiondialog : Base class for actions that show a dialog on events.

: #AlarmdActionDBus, AlarmdActionExec.

AlarmdActionDialog is an action type that, upon firing, may show a dialog if flagged so in AlarmdActionDialog:flags. After the dialog has been acknowledged, this action type does nothing, use AlarmdActionExec or AlarmdActionDbus to do something afterwards. The charasteristics of the dialog are determined by the properties AlarmdActionDialog:title, AlarmdActionDialog:icon, AlarmdActionDialog:message, AlarmdActionDialog:sound and AlarmdActionDialog:flags.

Definition at line 93 of file actiondialog.c.

References alarmd_action_dialog_class_init(), alarmd_action_dialog_init(), and ALARMD_TYPE_ACTION.

AlarmdAction* alarmd_action_dialog_new void   ) 
 

alarmd_action_dialog_new:

Creates new alarmd dialog action. Returns: Newly created AlarmdActionDialog.


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