aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-call.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-call.c')
-rw-r--r--libmm-glib/mm-call.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/libmm-glib/mm-call.c b/libmm-glib/mm-call.c
index 025ec957..823af191 100644
--- a/libmm-glib/mm-call.c
+++ b/libmm-glib/mm-call.c
@@ -414,82 +414,82 @@ mm_call_hangup_sync (MMCall *self,
/*****************************************************************************/
/**
- * mm_call_send_tone_finish:
+ * mm_call_send_dtmf_finish:
* @self: A #MMCall.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to mm_call_send_tone().
+ * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to mm_call_send_dtmf().
* @error: Return location for error or %NULL.
*
- * Finishes an operation started with mm_call_send_tone().
+ * Finishes an operation started with mm_call_send_dtmf().
*
* Returns: %TRUE if the operation succeded, %FALSE if @error is set.
*/
gboolean
-mm_call_send_tone_finish (MMCall *self,
+mm_call_send_dtmf_finish (MMCall *self,
GAsyncResult *res,
GError **error)
{
g_return_val_if_fail (MM_IS_CALL (self), FALSE);
- return mm_gdbus_call_call_send_tone_finish (MM_GDBUS_CALL (self), res, error);
+ return mm_gdbus_call_call_send_dtmf_finish (MM_GDBUS_CALL (self), res, error);
}
/**
- * mm_call_send_tone:
+ * mm_call_send_dtmf:
* @self: A #MMCall.
* @cancellable: (allow-none): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
*
- * Asynchronously requests to send tone the call.
+ * Asynchronously requests to send a DTMF tone the call.
*
* Call objects can only be executed once.
*
* When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call mm_call_send_tone_finish() to get the result of the operation.
+ * You can then call mm_call_send_dtmf_finish() to get the result of the operation.
*
- * See mm_call_send_tone_sync() for the synchronous, blocking version of this method.
+ * See mm_call_send_dtmf_sync() for the synchronous, blocking version of this method.
*/
void
-mm_call_send_tone (MMCall *self,
- const gchar *tone,
+mm_call_send_dtmf (MMCall *self,
+ const gchar *dtmf,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
{
g_return_if_fail (MM_IS_CALL (self));
- mm_gdbus_call_call_send_tone (MM_GDBUS_CALL (self),
- tone,
+ mm_gdbus_call_call_send_dtmf (MM_GDBUS_CALL (self),
+ dtmf,
cancellable,
callback,
user_data);
}
/**
- * mm_call_send_tone_sync:
+ * mm_call_send_dtmf_sync:
* @self: A #MMCall.
* @cancellable: (allow-none): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
- * Synchronously requests to send tone the call.
+ * Synchronously requests to send a DTMF tone the call.
*
* Call objects can only be sent once.
*
* The calling thread is blocked until an incoming call is ready.
- * See mm_call_send_tone() for the asynchronous version of this method.
+ * See mm_call_send_dtmf() for the asynchronous version of this method.
*
* Returns: %TRUE if the operation succeded, %FALSE if @error is set.
*/
gboolean
-mm_call_send_tone_sync (MMCall *self,
- const gchar *tone,
+mm_call_send_dtmf_sync (MMCall *self,
+ const gchar *dtmf,
GCancellable *cancellable,
GError **error)
{
g_return_val_if_fail (MM_IS_CALL (self), FALSE);
- return mm_gdbus_call_call_send_tone_sync (MM_GDBUS_CALL (self),
- tone,
+ return mm_gdbus_call_call_send_dtmf_sync (MM_GDBUS_CALL (self),
+ dtmf,
cancellable,
error);
}