Accept FS#9480 - centralise and organise the events in the apps/ layer.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18819 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-10-16 10:38:03 +00:00
parent 9e0ebcc4e6
commit 71898e5c54
11 changed files with 80 additions and 41 deletions

View file

@ -24,7 +24,7 @@
#include <sys/types.h>
#include <stdbool.h>
#include "events.h"
#include "appevents.h"
enum data_type {
@ -38,14 +38,6 @@ enum data_type {
TYPE_UNKNOWN,
};
enum callback_event {
EVENT_BUFFER_LOW = (EVENT_CLASS_BUFFERING|1),
EVENT_HANDLE_REBUFFER,
EVENT_HANDLE_CLOSED,
EVENT_HANDLE_MOVED,
EVENT_HANDLE_FINISHED,
};
/* Error return values */
#define ERR_HANDLE_NOT_FOUND -1
#define ERR_BUFFER_FULL -2