2 * freesmartphone-device.h
4 * Copyright(C) 2008 Ixonos Plc
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Boston, MA 02111.
27 #ifndef FREESMARTPHONE_DEVICE_H
28 #define FREESMARTPHONE_DEVICE_H
31 #include <dbus/dbus-glib.h>
33 #include "freesmartphone.h"
35 typedef void (*FSGSMDeviceReplyFunc
) (GError
*error
,
37 typedef void (*FSGSMDeviceGetFeaturesReplyFunc
) (GHashTable
*features
,
40 typedef void (*FSGSMDeviceGetInfoReplyFunc
) (GHashTable
*info
,
44 typedef void (*FSGSMDeviceGetAntennaPowerReplyFunc
) (gboolean antenna_power
,
48 gboolean
fso_gsm_device_get_info(FreeSmartphone
*fs
,
49 FSGSMDeviceGetInfoReplyFunc cb
,
52 gboolean
fso_gsm_device_set_antenna_power(FreeSmartphone
*fs
,
53 gboolean antenna_power
,
54 FSGSMDeviceReplyFunc cb
,
57 gboolean
fso_gsm_device_get_features(FreeSmartphone
*fs
,
58 FSGSMDeviceGetFeaturesReplyFunc cb
,
61 gboolean
fso_gsm_device_prepare_to_suspend(FreeSmartphone
*fs
,
62 FSGSMDeviceReplyFunc cb
,
65 gboolean
fso_gsm_device_recover_from_suspend(FreeSmartphone
*fs
,
66 FSGSMDeviceReplyFunc cb
,
69 #endif /* FREESMARTPHONE_DEVICE_H */