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

rpc-mce.h

Go to the documentation of this file.
00001 /**
00002  * This file is part of alarmd
00003  *
00004  * Contact Person: David Weinehall <david.weinehall@nokia.com>
00005  *
00006  * Copyright (C) 2006 Nokia Corporation
00007  * alarmd and libalarm are free software; you can redistribute them
00008  * and/or modify them under the terms of the GNU Lesser General Public
00009  * License version 2.1 as published by the Free Software Foundation.
00010  *
00011  * alarmd and libalarm are distributed in the hope that they will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this software; if not, write to the Free
00018  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00019  * 02110-1301 USA
00020  */
00021 
00022 #ifndef RPC_MCE_H
00023 #define RPC_MCE_H
00024 
00025 #include <dbus/dbus.h>
00026 #include <glib.h>
00027 
00028 /**
00029  * SECTION:rpc-mce
00030  * @short_description: Helpers for communicating with the Mode Control Entity.
00031  *
00032  * These functions can be used to do common operations on the mce.
00033  **/
00034 
00035 /**
00036  * mce_set_alarm_visibility:
00037  * @system_bus: The dbus (system) bus to send the mssage on.
00038  * @visible: TRUE if a alarm dialog is visible, false otherwise.
00039  *
00040  * Notifies mce about alarm dialog visibility.
00041  **/
00042 void mce_set_alarm_visibility(DBusConnection *system_bus, gboolean visible);
00043 
00044 /**
00045  * mce_request_powerup:
00046  * @system_bus: The dbus (system) bus to send the mssage on.
00047  *
00048  * Reuqests device power up from mce.
00049  **/
00050 void mce_request_powerup(DBusConnection *system_bus);
00051 
00052 /**
00053  * mce_request_shutdown:
00054  * @system_bus: The dbus (system) bus to send the mssage on.
00055  *
00056  * Requests device shutdown from mce.
00057  **/
00058 void mce_request_shutdown(DBusConnection *system_bus);
00059 
00060 #endif

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