summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-call-content.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2011-12-31 15:48:41 -0500
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-01-11 17:53:22 +0100
commitf10122e854dc4afb934fd1ca145b35c99c3b297f (patch)
treebb17ced83c9cce34152838cacbc0bd69fe61ed14 /telepathy-glib/base-call-content.h
parent9135915511be313c5f862c1cc209307e5ea3bdab (diff)
downloadtelepathy-glib-f10122e854dc4afb934fd1ca145b35c99c3b297f.tar.gz
Implement Call Content in the base class
Diffstat (limited to 'telepathy-glib/base-call-content.h')
-rw-r--r--telepathy-glib/base-call-content.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/telepathy-glib/base-call-content.h b/telepathy-glib/base-call-content.h
index 65c6c4df8..40ac4a1a8 100644
--- a/telepathy-glib/base-call-content.h
+++ b/telepathy-glib/base-call-content.h
@@ -39,6 +39,12 @@ typedef struct _TpBaseCallContentPrivate TpBaseCallContentPrivate;
typedef struct _TpBaseCallContentClass TpBaseCallContentClass;
typedef void (*TpBaseCallContentDeinitFunc) (TpBaseCallContent *self);
+typedef gboolean (*TpBaseCallContentStartToneFunc) (TpBaseCallContent *self,
+ guchar event, GError **error);
+typedef gboolean (*TpBaseCallContentStopToneFunc) (TpBaseCallContent *self,
+ GError **error);
+typedef gboolean (*TpBaseCallContentMultipleTonesFunc) (TpBaseCallContent *self,
+ const gchar *tones, GError **error);
struct _TpBaseCallContentClass {
/*<private>*/
@@ -50,6 +56,10 @@ struct _TpBaseCallContentClass {
TpBaseCallContentDeinitFunc deinit;
const gchar * const *extra_interfaces;
+ TpBaseCallContentStartToneFunc start_tone;
+ TpBaseCallContentStopToneFunc stop_tone;
+ TpBaseCallContentMultipleTonesFunc multiple_tones;
+
/*<private>*/
gpointer future[4];
};