[telepathy-glib/master] Generate code for the Balance interface

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Jan 21 06:19:40 PST 2010


---
 docs/reference/telepathy-glib-sections.txt |   26 ++++++++++++++++++++++++++
 telepathy-glib/connection.xml              |    1 +
 telepathy-glib/extra-gtkdoc.h              |   14 ++++++++++++++
 3 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/docs/reference/telepathy-glib-sections.txt b/docs/reference/telepathy-glib-sections.txt
index 700344b..ffea5f0 100644
--- a/docs/reference/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib-sections.txt
@@ -900,6 +900,16 @@ TP_TYPE_SVC_CONNECTION_INTERFACE_ALIASING
 tp_svc_connection_interface_aliasing_get_type
 TP_SVC_CONNECTION_INTERFACE_ALIASING_GET_CLASS
 <SUBSECTION>
+TpSvcConnectionInterfaceBalance
+TpSvcConnectionInterfaceBalanceClass
+tp_svc_connection_interface_balance_emit_balance_changed
+<SUBSECTION Standard>
+TP_SVC_CONNECTION_INTERFACE_BALANCE
+TP_IS_SVC_CONNECTION_INTERFACE_BALANCE
+TP_TYPE_SVC_CONNECTION_INTERFACE_BALANCE
+tp_svc_connection_interface_balance_get_type
+TP_SVC_CONNECTION_INTERFACE_BALANCE_GET_CLASS
+<SUBSECTION>
 TpSvcConnectionInterfaceCapabilities
 TpSvcConnectionInterfaceCapabilitiesClass
 tp_svc_connection_interface_capabilities_advertise_capabilities_impl
@@ -1127,6 +1137,9 @@ TP_ARRAY_TYPE_ALIAS_PAIR_LIST
 # Connection - Avatars
 TP_HASH_TYPE_AVATAR_TOKEN_MAP
 <SUBSECTION>
+# Connection - Balance
+TP_STRUCT_TYPE_CURRENCY_AMOUNT
+<SUBSECTION>
 # Connection - ContactCapabilities
 TP_HASH_TYPE_CONTACT_CAPABILITIES_MAP
 TP_ARRAY_TYPE_CONTACT_CAPABILITIES_MAP_LIST
@@ -1273,6 +1286,7 @@ tp_type_dbus_hash_uv
 tp_type_dbus_struct_a_7bsv_7das
 tp_type_dbus_struct_ays
 tp_type_dbus_struct_dsus
+tp_type_dbus_struct_ius
 tp_type_dbus_struct_oa_7bsv_7d
 tp_type_dbus_struct_os
 tp_type_dbus_struct_osuu
@@ -1968,6 +1982,8 @@ TP_IFACE_CONNECTION_INTERFACE_ALIASING
 TP_IFACE_QUARK_CONNECTION_INTERFACE_ALIASING
 TP_IFACE_CONNECTION_INTERFACE_AVATARS
 TP_IFACE_QUARK_CONNECTION_INTERFACE_AVATARS
+TP_IFACE_CONNECTION_INTERFACE_BALANCE
+TP_IFACE_QUARK_CONNECTION_INTERFACE_BALANCE
 TP_IFACE_CONNECTION_INTERFACE_CAPABILITIES
 TP_IFACE_QUARK_CONNECTION_INTERFACE_CAPABILITIES
 TP_IFACE_CONNECTION_INTERFACE_CONTACT_CAPABILITIES
@@ -2132,6 +2148,7 @@ TP_PROP_CONNECTION_INTERFACE_AVATARS_MINIMUM_AVATAR_WIDTH
 TP_PROP_CONNECTION_INTERFACE_AVATARS_RECOMMENDED_AVATAR_HEIGHT
 TP_PROP_CONNECTION_INTERFACE_AVATARS_RECOMMENDED_AVATAR_WIDTH
 TP_PROP_CONNECTION_INTERFACE_AVATARS_SUPPORTED_AVATAR_MIME_TYPES
+TP_PROP_CONNECTION_INTERFACE_BALANCE_ACCOUNT_BALANCE
 TP_PROP_CONNECTION_INTERFACE_CONTACTS_CONTACT_ATTRIBUTE_INTERFACES
 TP_PROP_CONNECTION_INTERFACE_LOCATION_LOCATION_ACCESS_CONTROL
 TP_PROP_CONNECTION_INTERFACE_LOCATION_LOCATION_ACCESS_CONTROL_TYPES
@@ -2183,6 +2200,7 @@ tp_iface_quark_client_observer
 tp_iface_quark_connection
 tp_iface_quark_connection_interface_aliasing
 tp_iface_quark_connection_interface_avatars
+tp_iface_quark_connection_interface_balance
 tp_iface_quark_connection_interface_contacts
 tp_iface_quark_connection_interface_contact_capabilities
 tp_iface_quark_connection_interface_capabilities
@@ -2762,6 +2780,14 @@ tp_cli_connection_interface_avatars_signal_callback_avatar_updated
 </SECTION>
 
 <SECTION>
+<FILE>connection-balance</FILE>
+<TITLE>connection-balance</TITLE>
+<INCLUDE>telepathy-glib/connection.h</INCLUDE>
+tp_cli_connection_interface_balance_connect_to_balance_changed
+tp_cli_connection_interface_balance_signal_callback_balance_changed
+</SECTION>
+
+<SECTION>
 <FILE>connection-caps</FILE>
 <TITLE>connection-caps</TITLE>
 <INCLUDE>telepathy-glib/connection.h</INCLUDE>
diff --git a/telepathy-glib/connection.xml b/telepathy-glib/connection.xml
index 273e8a2..b8239a1 100644
--- a/telepathy-glib/connection.xml
+++ b/telepathy-glib/connection.xml
@@ -8,6 +8,7 @@
 
 <xi:include href="../spec/Connection_Interface_Aliasing.xml"/>
 <xi:include href="../spec/Connection_Interface_Avatars.xml"/>
+<xi:include href="../spec/Connection_Interface_Balance.xml"/>
 <xi:include href="../spec/Connection_Interface_Capabilities.xml"/>
 <xi:include href="../spec/Connection_Interface_Contact_Capabilities.xml"/>
 <xi:include href="../spec/Connection_Interface_Simple_Presence.xml"/>
diff --git a/telepathy-glib/extra-gtkdoc.h b/telepathy-glib/extra-gtkdoc.h
index 2357f94..c1dd0a2 100644
--- a/telepathy-glib/extra-gtkdoc.h
+++ b/telepathy-glib/extra-gtkdoc.h
@@ -637,3 +637,17 @@
  * This section documents the auto-generated C wrappers for the
  * Location interface, used with #TpConnection objects.
  */
+
+/**
+ * SECTION:connection-balance
+ * @title: Connection Balance interface
+ * @short_description: client-side wrappers for the Balance interface
+ * @see_also: #TpConnection
+ *
+ * In some real-time communication services the user can pay for certain
+ * services, typically calls to the PSTN, in advance. In (at least) Skype,
+ * it's possible to query the current balance in a machine-readable way.
+ *
+ * This section documents the auto-generated C wrappers for the
+ * Balance interface, used with #TpConnection objects.
+ */
-- 
1.5.6.5




More information about the telepathy-commits mailing list