[vlc-devel] commit: VLC update: provide stubs ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat May 24 11:23:19 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat May 24 12:24:26 2008 +0300| [05cfa654a872bd3b6dc8123cc736110d3d022b20]

VLC update: provide stubs

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05cfa654a872bd3b6dc8123cc736110d3d022b20
---

 src/misc/update.c |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/src/misc/update.c b/src/misc/update.c
index 5b7f366..dbbf368 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -1638,5 +1638,32 @@ end:
 
     vlc_object_release( p_udt );
 }
+#else
+update_t *__update_New( vlc_object_t *p_this )
+{
+    (void)p_this;
+    return NULL;
+}
+
+void update_Delete( update_t *p_update )
+{
+    (void)p_update;
+}
 
+void update_Check( update_t *p_update, void (*pf_callback)( void*, bool ),
+                   void *p_data )
+{
+    (void)p_update; (void)pf_callback; (void)p_data;
+}
+
+bool update_NeedUpgrade( update_t *p_update )
+{
+    (void)p_update;
+    return false;
+}
+
+void update_Download( update_t *p_update, char *psz_destdir )
+{
+    (void)p_update; (void)psz_destdir;
+}
 #endif




More information about the vlc-devel mailing list