mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
9e0ebcc4e6
commit
71898e5c54
11 changed files with 80 additions and 41 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue