FS#8961 - Anti-Aliased Fonts.
[kugel-rb/myfork.git] / apps / appevents.h
blobf7e695d4a9e1323599a6b31724d4fc8ce54b3f8a
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: events.h 17847 2008-06-28 18:10:04Z bagder $
10 * Copyright (C) 2008 by Jonathan Gordon
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef _APPEVENTS_H
23 #define _APPEVENTS_H
25 #include <stdbool.h>
26 #include "events.h"
28 /** Only app/ level events should be defined here.
29 * firmware/ level events and CLASS's are defined in firmware/export/events.h
32 /** Playback events **/
33 enum {
34 PLAYBACK_EVENT_TRACK_BUFFER = (EVENT_CLASS_PLAYBACK|1),
35 PLAYBACK_EVENT_TRACK_FINISH,
36 PLAYBACK_EVENT_TRACK_CHANGE,
37 PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE,
40 /** Buffering events **/
41 enum {
42 BUFFER_EVENT_BUFFER_LOW = (EVENT_CLASS_BUFFERING|1),
43 BUFFER_EVENT_REBUFFER,
44 BUFFER_EVENT_CLOSED,
45 BUFFER_EVENT_MOVED,
46 BUFFER_EVENT_FINISHED,
49 /** Generic GUI class events **/
50 enum {
51 GUI_EVENT_STATUSBAR_TOGGLE = (EVENT_CLASS_GUI|1),
52 GUI_EVENT_ACTIONUPDATE,
53 GUI_EVENT_REFRESH,
56 #endif