aboutsummaryrefslogtreecommitdiff
path: root/vapi
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 /vapi
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 'vapi')
-rw-r--r--vapi/common-defs.vapi26
1 files changed, 17 insertions, 9 deletions
diff --git a/vapi/common-defs.vapi b/vapi/common-defs.vapi
index 7b38e9c..7cac0de 100644
--- a/vapi/common-defs.vapi
+++ b/vapi/common-defs.vapi
@@ -41,14 +41,6 @@ namespace DbusmenuTitle{
}
[CCode (cheader_filename = "common-defs.h")]
-namespace DbusmenuScrub{
- public const string MENUITEM_TYPE;
- public const string MENUITEM_POSITION;
- public const string MENUITEM_DURATION;
- public const string MENUITEM_PLAY_STATE;
-}
-
-[CCode (cheader_filename = "common-defs.h")]
namespace DbusmenuPlaylists{
public const string MENUITEM_TYPE;
public const string MENUITEM_TITLE;
@@ -57,4 +49,20 @@ namespace DbusmenuPlaylists{
[CCode (cheader_filename = "common-defs.h")]
namespace DbusmenuPlaylist{
public const string MENUITEM_PATH;
-} \ No newline at end of file
+}
+
+
+[CCode (cprefix ="Transport", cheader_filename = "common-defs.h")]
+namespace Transport{
+ public enum Action{
+ PREVIOUS,
+ PLAY_PAUSE,
+ NEXT,
+ REWIND,
+ FORWIND
+ }
+ public enum State{
+ PLAYING,
+ PAUSED
+ }
+}