logo       
Google Custom Search
    AddThis Social Bookmark Button

linus: apps plugin.c,1.44,1.45 plugin.h,1.50,1.51: msg#00181

Subject: linus: apps plugin.c,1.44,1.45 plugin.h,1.50,1.51
Update of /cvsroot/rockbox/apps
In directory labb.contactor.se:/var/tmp/cvs-serv22556/apps

Modified Files:
        plugin.c plugin.h 
Log Message:
Added default_event_handler() to the plugin API

Index: plugin.c
===================================================================
RCS file: /cvsroot/rockbox/apps/plugin.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- plugin.c    23 Jul 2004 15:12:43 -0000      1.44
+++ plugin.c    26 Jul 2004 23:30:30 -0000      1.45
@@ -257,6 +257,7 @@
     button_clear_queue,
     strncpy,
     strcasecmp,
+    default_event_handler
 };
 
 int plugin_load(char* plugin, void* parameter)

Index: plugin.h
===================================================================
RCS file: /cvsroot/rockbox/apps/plugin.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- plugin.h    23 Jul 2004 15:12:43 -0000      1.50
+++ plugin.h    26 Jul 2004 23:30:30 -0000      1.51
@@ -60,7 +60,7 @@
 #endif
 
 /* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 23
+#define PLUGIN_API_VERSION 24
 
 /* update this to latest version if a change to the api struct breaks
    backwards compatibility (and please take the opportunity to sort in any 
@@ -293,6 +293,7 @@
     void (*button_clear_queue)(void);
     char *(*strncpy)(char *dst, const char *src, size_t length);
     int (*strcasecmp)(const char *, const char *);
+    int (*default_event_handler)(int event);
 };
 
 /* defined by the plugin loader (plugin.c) */

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>