aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChuck Claunch <[email protected]>2017-06-11 22:53:31 -0500
committerChuck Claunch <[email protected]>2017-06-11 22:53:31 -0500
commit45e577290626b3674992d5dff1701fdd6e0b886d (patch)
treefe1710dfe91e340a2eb4cb7d1cba99636002ae55 /include
parent48137326978655fa7a8092f687200eca3e8eb68f (diff)
Added annotations to dbus profile so GVariants would replace gchars in the code generation, and modified BluetoothGattCharacteristc to match.
Signed-off-by: Chuck Claunch <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/generated-code.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/generated-code.h b/include/generated-code.h
index 1442b381..cc224655 100644
--- a/include/generated-code.h
+++ b/include/generated-code.h
@@ -866,7 +866,7 @@ struct _GattCharacteristic1Iface
gboolean (*handle_write_value) (
GattCharacteristic1 *object,
GDBusMethodInvocation *invocation,
- const gchar *arg_value,
+ GVariant *arg_value,
GVariant *arg_options);
const gchar *const * (*get_descriptors) (GattCharacteristic1 *object);
@@ -879,7 +879,7 @@ struct _GattCharacteristic1Iface
const gchar * (*get_uuid) (GattCharacteristic1 *object);
- const gchar * (*get_value) (GattCharacteristic1 *object);
+ GVariant * (*get_value) (GattCharacteristic1 *object);
};
@@ -893,7 +893,7 @@ guint gatt_characteristic1_override_properties (GObjectClass *klass, guint prope
void gatt_characteristic1_complete_read_value (
GattCharacteristic1 *object,
GDBusMethodInvocation *invocation,
- const gchar *value);
+ GVariant *value);
void gatt_characteristic1_complete_write_value (
GattCharacteristic1 *object,
@@ -919,20 +919,20 @@ void gatt_characteristic1_call_read_value (
gboolean gatt_characteristic1_call_read_value_finish (
GattCharacteristic1 *proxy,
- gchar **out_value,
+ GVariant **out_value,
GAsyncResult *res,
GError **error);
gboolean gatt_characteristic1_call_read_value_sync (
GattCharacteristic1 *proxy,
GVariant *arg_options,
- gchar **out_value,
+ GVariant **out_value,
GCancellable *cancellable,
GError **error);
void gatt_characteristic1_call_write_value (
GattCharacteristic1 *proxy,
- const gchar *arg_value,
+ GVariant *arg_value,
GVariant *arg_options,
GCancellable *cancellable,
GAsyncReadyCallback callback,
@@ -945,7 +945,7 @@ gboolean gatt_characteristic1_call_write_value_finish (
gboolean gatt_characteristic1_call_write_value_sync (
GattCharacteristic1 *proxy,
- const gchar *arg_value,
+ GVariant *arg_value,
GVariant *arg_options,
GCancellable *cancellable,
GError **error);
@@ -993,9 +993,9 @@ const gchar *gatt_characteristic1_get_service (GattCharacteristic1 *object);
gchar *gatt_characteristic1_dup_service (GattCharacteristic1 *object);
void gatt_characteristic1_set_service (GattCharacteristic1 *object, const gchar *value);
-const gchar *gatt_characteristic1_get_value (GattCharacteristic1 *object);
-gchar *gatt_characteristic1_dup_value (GattCharacteristic1 *object);
-void gatt_characteristic1_set_value (GattCharacteristic1 *object, const gchar *value);
+GVariant *gatt_characteristic1_get_value (GattCharacteristic1 *object);
+GVariant *gatt_characteristic1_dup_value (GattCharacteristic1 *object);
+void gatt_characteristic1_set_value (GattCharacteristic1 *object, GVariant *value);
gboolean gatt_characteristic1_get_notifying (GattCharacteristic1 *object);
void gatt_characteristic1_set_notifying (GattCharacteristic1 *object, gboolean value);