#include <glib/gmain.h>
#include <glib/gtypes.h>
#include <time.h>
#include <stdio.h>
#include <osso-log.h>
#include "include/timer-interface.h"
#include "debug.h"
Include dependency graph for timer-gtimeout.c:
Go to the source code of this file.
Typedefs | |
typedef _GTimeoutTimerEvent | GTimeoutTimerEvent |
typedef _GTimeoutIdleEvent | GTimeoutIdleEvent |
Functions | |
static gboolean | gtimeout_set_event (TimerPlugin *plugin, time_t wanted_time, TimerCallback cb, TimerCancel cancel, gpointer user_data) |
This file is part of alarmd. | |
static gboolean | gtimeout_remove_event (TimerPlugin *plugin) |
static time_t | gtimeout_get_time (TimerPlugin *plugin) |
static void | gtimeout_time_changed (TimerPlugin *plugin) |
static void | gtimeout_plugin_deinit (TimerPlugin *plugin) |
gboolean | plugin_initialize (TimerPlugin *plugin) |
plugin_initialize: : Pointer to the struct the plugin should fill. | |
static gboolean | _gtimeout_event_fire (gpointer event) |
static gboolean | _gtimeout_idle_event_fire (gpointer event) |
|
Definition at line 47 of file timer-gtimeout.c. |
|
Definition at line 36 of file timer-gtimeout.c. |
|
Definition at line 71 of file timer-gtimeout.c. References _GTimeoutTimerEvent::cb, _GTimeoutTimerEvent::cb_data, ENTER_FUNC, LEAVE_FUNC, _GTimeoutTimerEvent::plugin, and _TimerPlugin::plugin_data. Referenced by gtimeout_set_event(), and gtimeout_time_changed(). |
|
Definition at line 88 of file timer-gtimeout.c. References _GTimeoutIdleEvent::cb, _GTimeoutIdleEvent::cb_data, _GTimeoutIdleEvent::delayed, ENTER_FUNC, and LEAVE_FUNC. Referenced by gtimeout_set_event(). |
|
Definition at line 178 of file timer-gtimeout.c. References ENTER_FUNC, LEAVE_FUNC, _TimerPlugin::plugin_data, and _GTimeoutTimerEvent::timer_time. Referenced by plugin_initialize(). |
|
Definition at line 192 of file timer-gtimeout.c. References ENTER_FUNC, LEAVE_FUNC, and _TimerPlugin::remove_event. Referenced by plugin_initialize(). |
|
Definition at line 154 of file timer-gtimeout.c. References _GTimeoutTimerEvent::cancel, _GTimeoutTimerEvent::cb_data, ENTER_FUNC, LEAVE_FUNC, _TimerPlugin::plugin_data, and _GTimeoutTimerEvent::timer_id. Referenced by plugin_initialize(). |
|
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 102 of file timer-gtimeout.c. References _gtimeout_event_fire(), _gtimeout_idle_event_fire(), _GTimeoutTimerEvent::cancel, _GTimeoutTimerEvent::cb, _GTimeoutIdleEvent::cb, _GTimeoutTimerEvent::cb_data, _GTimeoutIdleEvent::cb_data, DEBUG, _GTimeoutIdleEvent::delayed, ENTER_FUNC, LEAVE_FUNC, _GTimeoutTimerEvent::plugin, _TimerPlugin::plugin_data, _TimerPlugin::remove_event, _GTimeoutTimerEvent::timer_id, and _GTimeoutTimerEvent::timer_time. Referenced by plugin_initialize(). |
|
Definition at line 199 of file timer-gtimeout.c. References _gtimeout_event_fire(), _GTimeoutTimerEvent::cb, _GTimeoutTimerEvent::cb_data, ENTER_FUNC, LEAVE_FUNC, _GTimeoutTimerEvent::timer_id, and _GTimeoutTimerEvent::timer_time. Referenced by plugin_initialize(). |
|
plugin_initialize: : Pointer to the struct the plugin should fill. Function all timer plugins should implement. Fills in the struct that describes the plugin. Returns: TRUE if plugin initialization was successful. Definition at line 54 of file timer-gtimeout.c. References _TimerPlugin::can_power_up, ENTER_FUNC, _TimerPlugin::get_time, gtimeout_get_time(), gtimeout_plugin_deinit(), gtimeout_remove_event(), gtimeout_set_event(), gtimeout_time_changed(), LEAVE_FUNC, _TimerPlugin::plugin_data, _TimerPlugin::plugin_deinit, _TimerPlugin::priority, _TimerPlugin::remove_event, _TimerPlugin::set_event, and _TimerPlugin::time_changed. |