aboutsummaryrefslogtreecommitdiff
path: root/src/common-defs.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-09 18:01:58 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-09 18:01:58 +0000
commit83554ba72ea7d455f9261355e37d4a5501577364 (patch)
tree268b1a7452bfd8bcff48eadc9ad1f72c456cd542 /src/common-defs.h
parentc552d82ff707e86eba876aaa8fda86e1596856a0 (diff)
parent7169ee044ae4bded4df95e4c3fb92b1dfa99b74b (diff)
downloadayatana-indicator-sound-83554ba72ea7d455f9261355e37d4a5501577364.tar.gz
ayatana-indicator-sound-83554ba72ea7d455f9261355e37d4a5501577364.tar.bz2
ayatana-indicator-sound-83554ba72ea7d455f9261355e37d4a5501577364.zip
merge the rewind/forwind work plus some refactoring and voip icon names
Diffstat (limited to 'src/common-defs.h')
-rw-r--r--src/common-defs.h14
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