diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-03-09 14:17:12 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-03-09 14:17:12 +0000 |
commit | 017cbc3be8b4bf1e365d013ede94c848e774d5ef (patch) | |
tree | 89030ddcaf650f030d40ad7fa3018ca2a0181d1b /src/common-defs.h | |
parent | 5bae6af22449e60aa0c3eaf0dd08a518979f2df9 (diff) | |
download | ayatana-indicator-sound-017cbc3be8b4bf1e365d013ede94c848e774d5ef.tar.gz ayatana-indicator-sound-017cbc3be8b4bf1e365d013ede94c848e774d5ef.tar.bz2 ayatana-indicator-sound-017cbc3be8b4bf1e365d013ede94c848e774d5ef.zip |
refactored transport enums so as both vala and c are using the same definitions in common defs
Diffstat (limited to 'src/common-defs.h')
-rw-r--r-- | src/common-defs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/common-defs.h b/src/common-defs.h index 2184a48..da504de 100644 --- a/src/common-defs.h +++ b/src/common-defs.h @@ -31,6 +31,20 @@ typedef enum { AVAILABLE }SoundState; +typedef enum { + TRANSPORT_ACTION_PREVIOUS, + TRANSPORT_ACTION_PLAY_PAUSE, + TRANSPORT_ACTION_NEXT, + TRANSPORT_ACTION_REWIND, + TRANSPORT_ACTION_FORWIND, + TRANSPORT_ACTION_NO_ACTION +}TransportAction; + +typedef enum { + TRANSPORT_STATE_PLAYING, + TRANSPORT_STATE_PAUSED +}TransportState; + #define NOT_ACTIVE -1 #define DBUSMENU_PROPERTY_EMPTY -1 |