aboutsummaryrefslogtreecommitdiff
path: root/vapi/common-defs.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/common-defs.vapi')
-rw-r--r--vapi/common-defs.vapi22
1 files changed, 19 insertions, 3 deletions
diff --git a/vapi/common-defs.vapi b/vapi/common-defs.vapi
index 7b38e9c..03a8e4c 100644
--- a/vapi/common-defs.vapi
+++ b/vapi/common-defs.vapi
@@ -40,14 +40,14 @@ namespace DbusmenuTitle{
public const string MENUITEM_RUNNING;
}
-[CCode (cheader_filename = "common-defs.h")]
+/**[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;
@@ -57,4 +57,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
+ }
+}