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

actionexec.h File Reference

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

Include dependency graph for actionexec.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_EXEC   (alarmd_action_exec_get_type())
 This file is part of alarmd.
#define ALARMD_ACTION_EXEC(object)   (G_TYPE_CHECK_INSTANCE_CAST((object), ALARMD_TYPE_ACTION_EXEC, AlarmdActionExec))
#define ALARMD_ACTION_EXEC_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), ALARMD_TYPE_ACTION_EXEC, AlarmdActionExecClass))
#define ALARMD_IS_ACTION_EXEC(object)   (G_TYPE_CHECK_INSTANCE_TYPE((object), ALARMD_TYPE_ACTION_EXEC))
#define ALARMD_IS_ACTION_EXEC_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), ALARMD_TYPE_ACTION_EXEC))
#define ALARMD_ACTION_EXEC_GET_CLASS(object)   (G_TYPE_INSTANCE_GET_CLASS((object), ALARMD_TYPE_ACTION_EXEC, AlarmdActionExecClass))

Typedefs

typedef _AlarmdActionExec AlarmdActionExec
typedef _AlarmdActionExecClass AlarmdActionExecClass

Functions

GType alarmd_action_exec_get_type (void)
 SECTION:actionexec : An action that runs a command.
AlarmdActionalarmd_action_exec_new (void)
 alarmd_action_exec_new:


Define Documentation

#define ALARMD_ACTION_EXEC object   )     (G_TYPE_CHECK_INSTANCE_CAST((object), ALARMD_TYPE_ACTION_EXEC, AlarmdActionExec))
 

Definition at line 29 of file actionexec.h.

#define ALARMD_ACTION_EXEC_CLASS klass   )     (G_TYPE_CHECK_CLASS_CAST((klass), ALARMD_TYPE_ACTION_EXEC, AlarmdActionExecClass))
 

Definition at line 30 of file actionexec.h.

#define ALARMD_ACTION_EXEC_GET_CLASS object   )     (G_TYPE_INSTANCE_GET_CLASS((object), ALARMD_TYPE_ACTION_EXEC, AlarmdActionExecClass))
 

Definition at line 33 of file actionexec.h.

#define ALARMD_IS_ACTION_EXEC object   )     (G_TYPE_CHECK_INSTANCE_TYPE((object), ALARMD_TYPE_ACTION_EXEC))
 

Definition at line 31 of file actionexec.h.

#define ALARMD_IS_ACTION_EXEC_CLASS klass   )     (G_TYPE_CHECK_CLASS_TYPE((klass), ALARMD_TYPE_ACTION_EXEC))
 

Definition at line 32 of file actionexec.h.

#define ALARMD_TYPE_ACTION_EXEC   (alarmd_action_exec_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 actionexec.h.

Referenced by _alarmd_action_exec_finalize(), _alarmd_action_exec_get_saved_properties(), and alarmd_type_init().


Typedef Documentation

typedef struct _AlarmdActionExec AlarmdActionExec
 

Definition at line 35 of file actionexec.h.

typedef struct _AlarmdActionExecClass AlarmdActionExecClass
 

Definition at line 41 of file actionexec.h.


Function Documentation

GType alarmd_action_exec_get_type void   ) 
 

SECTION:actionexec : An action that runs a command.

: AlarmdAction, AlarmdActionDbus

AlarmdActionExec is an action type that, upon firing, runs a command. The command is run with #g_spawn_command_line_async, and the command is specified in property AlarmdActionExec:name. The command is done with the same priviledges as the daemon is running.

AlarmdActionExec 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 71 of file actionexec.c.

References alarmd_action_exec_class_init(), alarmd_action_exec_init(), and ALARMD_TYPE_ACTION_DIALOG.

AlarmdAction* alarmd_action_exec_new void   ) 
 

alarmd_action_exec_new:

Creates new exec alarmd action. Returns: Newly created AlarmdActionExec.


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