aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.h
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-10-14 10:40:12 -0400
committerKen VanDine <ken.vandine@canonical.com>2010-10-14 10:40:12 -0400
commit7620afcd008217151fc02d6440df9741ed3d7e48 (patch)
tree529ffd73ebd0c0c50d857fa0f849218aeca1aa03 /src/music-player-bridge.h
parentaeb17c8f7825a68e367c50421f89695d41fcd5fb (diff)
parent8067376fb719ac5bf577a3e85d080eec765ec465 (diff)
downloadayatana-indicator-sound-7620afcd008217151fc02d6440df9741ed3d7e48.tar.gz
ayatana-indicator-sound-7620afcd008217151fc02d6440df9741ed3d7e48.tar.bz2
ayatana-indicator-sound-7620afcd008217151fc02d6440df9741ed3d7e48.zip
Import upstream version 0.4.9
Diffstat (limited to 'src/music-player-bridge.h')
-rw-r--r--src/music-player-bridge.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/music-player-bridge.h b/src/music-player-bridge.h
index 111a76d..41ea682 100644
--- a/src/music-player-bridge.h
+++ b/src/music-player-bridge.h
@@ -337,8 +337,8 @@ GType mpris2_controller_get_type (void) G_GNUC_CONST;
GType player_controller_widget_order_get_type (void) G_GNUC_CONST;
GType player_controller_state_get_type (void) G_GNUC_CONST;
#define PLAYER_CONTROLLER_WIDGET_QUANTITY 4
-PlayerController* player_controller_new (DbusmenuMenuitem* root, const char* client_name, gint offset, PlayerControllerstate initial_state);
-PlayerController* player_controller_construct (GType object_type, DbusmenuMenuitem* root, const char* client_name, gint offset, PlayerControllerstate initial_state);
+PlayerController* player_controller_new (DbusmenuMenuitem* root, const char* client_name, const char* mpris_name, gint offset, PlayerControllerstate initial_state);
+PlayerController* player_controller_construct (GType object_type, DbusmenuMenuitem* root, const char* client_name, const char* mpris_name, gint offset, PlayerControllerstate initial_state);
void player_controller_update_state (PlayerController* self, PlayerControllerstate new_state);
void player_controller_activate (PlayerController* self);
void player_controller_instantiate (PlayerController* self);
@@ -348,6 +348,8 @@ void player_controller_update_layout (PlayerController* self);
void player_controller_determine_state (PlayerController* self);
const char* player_controller_get_name (PlayerController* self);
void player_controller_set_name (PlayerController* self, const char* value);
+const char* player_controller_get_mpris_name (PlayerController* self);
+void player_controller_set_mpris_name (PlayerController* self, const char* value);
GAppInfo* player_controller_get_app_info (PlayerController* self);
void player_controller_set_app_info (PlayerController* self, GAppInfo* value);
gint player_controller_get_menu_offset (PlayerController* self);