summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-12-31 13:48:04 +0100
committerGravatar waker <wakeroid@gmail.com>2010-12-31 13:48:04 +0100
commite06308f8f5105f4d2d6eac3665b543ef6f360341 (patch)
tree8d35467ec6beed4c20ceb60a1d8af350f276657c /deadbeef.h
parent74df8d527b3052dc9593985fcd80136c39dadd94 (diff)
renamed pause event to togglepause;
added new pause event, including command line option; slightly changed/shortened M_* constant names
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 07ecfdb9..b143648e 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -253,17 +253,18 @@ enum pl_column_t {
// message ids for communicating with player
enum {
M_SONGFINISHED,
- M_NEXTSONG,
- M_PREVSONG,
- M_PLAYSONG,
- M_PLAYSONGNUM,
- M_STOPSONG,
- M_PAUSESONG,
- M_PLAYRANDOM,
+ M_NEXT,
+ M_PREV,
+ M_PLAY_CURRENT,
+ M_PLAY_NUM,
+ M_STOP,
+ M_PAUSE,
+ M_PLAY_RANDOM,
M_TERMINATE, // must be sent to player thread to terminate
- M_PLAYLISTREFRESH,
+ M_PLAYLIST_REFRESH, // means
M_REINIT_SOUND,
- M_CONFIGCHANGED, // no arguments
+ M_CONFIG_CHANGED, // no arguments
+ M_TOGGLE_PAUSE,
};
// typecasting macros