[discident-glib] Add prototype for async _get_title() functions



commit 555b0b274085d6c95f717f9b0dd47a3e664706d4
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 18 13:48:30 2010 +0000

    Add prototype for async _get_title() functions

 discident-glib/discident-glib.c |   15 +++++++++++++++
 discident-glib/discident-glib.h |    9 ++++++++-
 2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/discident-glib/discident-glib.c b/discident-glib/discident-glib.c
index 7d4c588..bbc1472 100644
--- a/discident-glib/discident-glib.c
+++ b/discident-glib/discident-glib.c
@@ -410,3 +410,18 @@ discident_get_title (GFile   *directory,
 	return title;
 }
 
+void
+discident_get_title_file_async (GFile               *directory,
+				GCancellable        *cancellable,
+				GAsyncReadyCallback  callback,
+				gpointer             user_data)
+{
+}
+
+char *
+discident_get_title_file_finish (GFile               *directory,
+				 GAsyncResult        *res,
+				 GError             **error)
+{
+}
+
diff --git a/discident-glib/discident-glib.h b/discident-glib/discident-glib.h
index 3638b77..72756a7 100644
--- a/discident-glib/discident-glib.h
+++ b/discident-glib/discident-glib.h
@@ -14,4 +14,11 @@ char *discident_get_gtin_file_finish (GFile               *directory,
 
 char *discident_get_title            (GFile   *directory,
 				      GError **error);
-//FIXME discident_get_title_async
+void  discident_get_title_file_async  (GFile               *directory,
+				       GCancellable        *cancellable,
+				       GAsyncReadyCallback  callback,
+				       gpointer             user_data);
+char *discident_get_title_file_finish (GFile               *directory,
+				       GAsyncResult        *res,
+				       GError             **error);
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]