Fixed typo in error message.
[gsmd2.git] / libfreesmartphone / freesmartphone-device.h
blob983235b62801183c83b63ecbfefa3f620cd47dc7
1 /*
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)
9 * any later version.
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.
22 * Written by
23 * Heikki Paajanen
24 * Vesa Pikki
27 #ifndef FREESMARTPHONE_DEVICE_H
28 #define FREESMARTPHONE_DEVICE_H
30 #include <glib.h>
31 #include <dbus/dbus-glib.h>
33 #include "freesmartphone.h"
35 typedef void (*FSGSMDeviceReplyFunc) (GError *error,
36 gpointer userdata );
37 typedef void (*FSGSMDeviceGetFeaturesReplyFunc) (GHashTable *features,
38 GError *error,
39 gpointer userdata );
40 typedef void (*FSGSMDeviceGetInfoReplyFunc) (GHashTable *info,
41 GError *error,
42 gpointer userdata );
44 typedef void (*FSGSMDeviceGetAntennaPowerReplyFunc) (gboolean antenna_power,
45 GError *error,
46 gpointer userdata );
48 gboolean fso_gsm_device_get_info(FreeSmartphone *fs,
49 FSGSMDeviceGetInfoReplyFunc cb,
50 gpointer userdata);
52 gboolean fso_gsm_device_set_antenna_power(FreeSmartphone *fs,
53 gboolean antenna_power,
54 FSGSMDeviceReplyFunc cb,
55 gpointer userdata);
57 gboolean fso_gsm_device_get_features(FreeSmartphone *fs,
58 FSGSMDeviceGetFeaturesReplyFunc cb,
59 gpointer userdata);
61 gboolean fso_gsm_device_prepare_to_suspend(FreeSmartphone *fs,
62 FSGSMDeviceReplyFunc cb,
63 gpointer userdata);
65 gboolean fso_gsm_device_recover_from_suspend(FreeSmartphone *fs,
66 FSGSMDeviceReplyFunc cb,
67 gpointer userdata);
69 #endif /* FREESMARTPHONE_DEVICE_H */