aboutsummaryrefslogtreecommitdiffstats
path: root/binding/gdbus/ofono_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'binding/gdbus/ofono_manager.h')
-rw-r--r--binding/gdbus/ofono_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/binding/gdbus/ofono_manager.h b/binding/gdbus/ofono_manager.h
index 0556d4f..c7333d0 100644
--- a/binding/gdbus/ofono_manager.h
+++ b/binding/gdbus/ofono_manager.h
@@ -21,6 +21,9 @@
#define AFB_BINDING_VERSION 3
#include <afb/afb-binding.h>
+#define OFONO_SERVICE "org.ofono"
+#define OFONO_HANDSFREE_INTERFACE OFONO_SERVICE ".Handsfree"
+
int ofono_manager_init(void);
void ofono_manager_invalidate_default_modem(void);
int ofono_manager_set_default_modem(const char *);
@@ -31,3 +34,4 @@ const gchar *ofono_manager_get_default_modem_type(void);
gboolean ofono_manager_get_default_modem_powered(void);
gboolean ofono_manager_get_default_modem_online(void);
gboolean ofono_manager_get_default_modem_valid(void);
+json_object *ofono_get_property(const char *path, const char *interface, const char *name, GError **error); \ No newline at end of file