diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-11-18 11:13:31 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-11-18 11:13:31 -0500 |
commit | 13bc64e0a3c144740c30e2469fdb5f605d58ee39 (patch) | |
tree | 21b2af1f4d2d796bdbf2af16761de5be769e87fa /src/music-player-bridge.h | |
parent | 908222c0681fba3c6e1265d0f85a0b667927c169 (diff) | |
parent | 0d5c60e9161f4b1b4315bbfac7862ef662f577ee (diff) | |
download | ayatana-indicator-sound-13bc64e0a3c144740c30e2469fdb5f605d58ee39.tar.gz ayatana-indicator-sound-13bc64e0a3c144740c30e2469fdb5f605d58ee39.tar.bz2 ayatana-indicator-sound-13bc64e0a3c144740c30e2469fdb5f605d58ee39.zip |
Import upstream version 0.5.2
Diffstat (limited to 'src/music-player-bridge.h')
-rw-r--r-- | src/music-player-bridge.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/src/music-player-bridge.h b/src/music-player-bridge.h index 2a3b9ac..26c9974 100644 --- a/src/music-player-bridge.h +++ b/src/music-player-bridge.h @@ -1,4 +1,4 @@ -/* music-player-bridge.h generated by valac 0.10.0, the Vala compiler, do not modify */ +/* music-player-bridge.h generated by valac 0.11.2, the Vala compiler, do not modify */ #ifndef __MUSIC_PLAYER_BRIDGE_H__ @@ -251,10 +251,10 @@ struct _MprisRootIface { void (*set_CanQuit) (MprisRoot* self, gboolean value); gboolean (*get_CanRaise) (MprisRoot* self); void (*set_CanRaise) (MprisRoot* self, gboolean value); - char* (*get_Identity) (MprisRoot* self); - void (*set_Identity) (MprisRoot* self, const char* value); - char* (*get_DesktopEntry) (MprisRoot* self); - void (*set_DesktopEntry) (MprisRoot* self, const char* value); + gchar* (*get_Identity) (MprisRoot* self); + void (*set_Identity) (MprisRoot* self, const gchar* value); + gchar* (*get_DesktopEntry) (MprisRoot* self); + void (*set_DesktopEntry) (MprisRoot* self, const gchar* value); }; struct _MprisPlayerIface { @@ -269,8 +269,8 @@ struct _MprisPlayerIface { void (*set_Metadata) (MprisPlayer* self, GHashTable* value); gint32 (*get_Position) (MprisPlayer* self); void (*set_Position) (MprisPlayer* self, gint32 value); - char* (*get_PlaybackStatus) (MprisPlayer* self); - void (*set_PlaybackStatus) (MprisPlayer* self, const char* value); + gchar* (*get_PlaybackStatus) (MprisPlayer* self); + void (*set_PlaybackStatus) (MprisPlayer* self, const gchar* value); }; struct _FreeDesktopPropertiesIface { @@ -308,10 +308,10 @@ struct _FetchFileClass { GType music_player_bridge_get_type (void) G_GNUC_CONST; MusicPlayerBridge* music_player_bridge_new (void); MusicPlayerBridge* music_player_bridge_construct (GType object_type); -void music_player_bridge_on_server_added (MusicPlayerBridge* self, IndicateListenerServer* object, const char* type); -void music_player_bridge_on_server_removed (MusicPlayerBridge* self, IndicateListenerServer* object, const char* type); +void music_player_bridge_on_server_added (MusicPlayerBridge* self, IndicateListenerServer* object, const gchar* type); +void music_player_bridge_on_server_removed (MusicPlayerBridge* self, IndicateListenerServer* object, const gchar* type); void music_player_bridge_set_root_menu_item (MusicPlayerBridge* self, DbusmenuMenuitem* menu); -GAppInfo* music_player_bridge_create_app_info (const char* path); +GAppInfo* music_player_bridge_create_app_info (const gchar* path); GType player_item_get_type (void) G_GNUC_CONST; GType transport_menuitem_get_type (void) G_GNUC_CONST; GType transport_menuitem_action_get_type (void) G_GNUC_CONST; @@ -322,11 +322,11 @@ TransportMenuitem* transport_menuitem_construct (GType object_type, PlayerContro void transport_menuitem_change_play_state (TransportMenuitem* self, TransportMenuitemstate update); GeeHashSet* transport_menuitem_attributes_format (void); GType metadata_menuitem_get_type (void) G_GNUC_CONST; -extern char* metadata_menuitem_album_art_cache_dir; +extern gchar* metadata_menuitem_album_art_cache_dir; #define METADATA_MENUITEM_ALBUM_ART_DIR_SUFFIX "indicators/sound/album-art-cache" MetadataMenuitem* metadata_menuitem_new (void); MetadataMenuitem* metadata_menuitem_construct (GType object_type); -void metadata_menuitem_fetch_art (MetadataMenuitem* self, const char* uri, const char* prop); +void metadata_menuitem_fetch_art (MetadataMenuitem* self, const gchar* uri, const gchar* prop); GeeHashSet* metadata_menuitem_attributes_format (void); GType title_menuitem_get_type (void) G_GNUC_CONST; TitleMenuitem* title_menuitem_new (PlayerController* parent); @@ -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, GAppInfo* app, const char* mpris_name, const char* icon_name, gint offset, PlayerControllerstate initial_state); -PlayerController* player_controller_construct (GType object_type, DbusmenuMenuitem* root, GAppInfo* app, const char* mpris_name, const char* icon_name, gint offset, PlayerControllerstate initial_state); +PlayerController* player_controller_new (DbusmenuMenuitem* root, GAppInfo* app, const gchar* mpris_name, const gchar* icon_name, gint offset, PlayerControllerstate initial_state); +PlayerController* player_controller_construct (GType object_type, DbusmenuMenuitem* root, GAppInfo* app, const gchar* mpris_name, const gchar* icon_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); @@ -346,16 +346,16 @@ void player_controller_vanish (PlayerController* self); void player_controller_hibernate (PlayerController* self); 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); +const gchar* player_controller_get_name (PlayerController* self); +void player_controller_set_name (PlayerController* self, const gchar* value); +const gchar* player_controller_get_mpris_name (PlayerController* self); +void player_controller_set_mpris_name (PlayerController* self, const gchar* 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); void player_controller_set_menu_offset (PlayerController* self, gint value); -const char* player_controller_get_icon_name (PlayerController* self); -void player_controller_set_icon_name (PlayerController* self, const char* value); +const gchar* player_controller_get_icon_name (PlayerController* self); +void player_controller_set_icon_name (PlayerController* self, const gchar* value); MprisRoot* mpris_root_dbus_proxy_new (DBusGConnection* connection, const char* name, const char* path); GType mpris_root_get_type (void) G_GNUC_CONST; void mpris_root_Quit (MprisRoot* self, GAsyncReadyCallback _callback_, gpointer _user_data_); @@ -368,10 +368,10 @@ gboolean mpris_root_get_CanQuit (MprisRoot* self); void mpris_root_set_CanQuit (MprisRoot* self, gboolean value); gboolean mpris_root_get_CanRaise (MprisRoot* self); void mpris_root_set_CanRaise (MprisRoot* self, gboolean value); -char* mpris_root_get_Identity (MprisRoot* self); -void mpris_root_set_Identity (MprisRoot* self, const char* value); -char* mpris_root_get_DesktopEntry (MprisRoot* self); -void mpris_root_set_DesktopEntry (MprisRoot* self, const char* value); +gchar* mpris_root_get_Identity (MprisRoot* self); +void mpris_root_set_Identity (MprisRoot* self, const gchar* value); +gchar* mpris_root_get_DesktopEntry (MprisRoot* self); +void mpris_root_set_DesktopEntry (MprisRoot* self, const gchar* value); MprisPlayer* mpris_player_dbus_proxy_new (DBusGConnection* connection, const char* name, const char* path); GType mpris_player_get_type (void) G_GNUC_CONST; void mpris_player_PlayPause (MprisPlayer* self, GAsyncReadyCallback _callback_, gpointer _user_data_); @@ -384,14 +384,14 @@ GHashTable* mpris_player_get_Metadata (MprisPlayer* self); void mpris_player_set_Metadata (MprisPlayer* self, GHashTable* value); gint32 mpris_player_get_Position (MprisPlayer* self); void mpris_player_set_Position (MprisPlayer* self, gint32 value); -char* mpris_player_get_PlaybackStatus (MprisPlayer* self); -void mpris_player_set_PlaybackStatus (MprisPlayer* self, const char* value); +gchar* mpris_player_get_PlaybackStatus (MprisPlayer* self); +void mpris_player_set_PlaybackStatus (MprisPlayer* self, const gchar* value); GType free_desktop_properties_get_type (void) G_GNUC_CONST; FreeDesktopProperties* free_desktop_properties_dbus_proxy_new (DBusGConnection* connection, const char* name, const char* path); #define MPRIS2_CONTROLLER_root_interface "org.mpris.MediaPlayer2" Mpris2Controller* mpris2_controller_new (PlayerController* ctrl); Mpris2Controller* mpris2_controller_construct (GType object_type, PlayerController* ctrl); -void mpris2_controller_property_changed_cb (Mpris2Controller* self, const char* interface_source, GHashTable* changed_properties, char** invalid, int invalid_length1); +void mpris2_controller_property_changed_cb (Mpris2Controller* self, const gchar* interface_source, GHashTable* changed_properties, gchar** invalid, int invalid_length1); void mpris2_controller_initial_update (Mpris2Controller* self); void mpris2_controller_transport_update (Mpris2Controller* self, TransportMenuitemaction command); gboolean mpris2_controller_connected (Mpris2Controller* self); @@ -401,27 +401,27 @@ MprisRoot* mpris2_controller_get_mpris2_root (Mpris2Controller* self); MprisPlayer* mpris2_controller_get_player (Mpris2Controller* self); PlayerController* mpris2_controller_get_owner (Mpris2Controller* self); FreeDesktopProperties* mpris2_controller_get_properties_interface (Mpris2Controller* self); -PlayerItem* player_item_new (const char* type); -PlayerItem* player_item_construct (GType object_type, const char* type); +PlayerItem* player_item_new (const gchar* type); +PlayerItem* player_item_construct (GType object_type, const gchar* type); void player_item_reset (PlayerItem* self, GeeHashSet* attrs); void player_item_update (PlayerItem* self, GHashTable* data, GeeHashSet* attributes); gboolean player_item_populated (PlayerItem* self, GeeHashSet* attrs); PlayerController* player_item_get_owner (PlayerItem* self); -const char* player_item_get_item_type (PlayerItem* self); +const gchar* player_item_get_item_type (PlayerItem* self); GType familiar_players_db_get_type (void) G_GNUC_CONST; FamiliarPlayersDB* familiar_players_db_new (void); FamiliarPlayersDB* familiar_players_db_construct (GType object_type); -void familiar_players_db_insert (FamiliarPlayersDB* self, const char* desktop); -gboolean familiar_players_db_already_familiar (FamiliarPlayersDB* self, const char* desktop); +void familiar_players_db_insert (FamiliarPlayersDB* self, const gchar* desktop); +gboolean familiar_players_db_already_familiar (FamiliarPlayersDB* self, const gchar* desktop); GeeSet* familiar_players_db_records (FamiliarPlayersDB* self); -char* familiar_players_db_fetch_icon_name (const char* desktop_path); +gchar* familiar_players_db_fetch_icon_name (const gchar* desktop_path); GType fetch_file_get_type (void) G_GNUC_CONST; -FetchFile* fetch_file_new (const char* uri, const char* prop); -FetchFile* fetch_file_construct (GType object_type, const char* uri, const char* prop); +FetchFile* fetch_file_new (const gchar* uri, const gchar* prop); +FetchFile* fetch_file_construct (GType object_type, const gchar* uri, const gchar* prop); void fetch_file_fetch_data (FetchFile* self, GAsyncReadyCallback _callback_, gpointer _user_data_); void fetch_file_fetch_data_finish (FetchFile* self, GAsyncResult* _res_); -const char* fetch_file_get_uri (FetchFile* self); -const char* fetch_file_get_intended_property (FetchFile* self); +const gchar* fetch_file_get_uri (FetchFile* self); +const gchar* fetch_file_get_intended_property (FetchFile* self); G_END_DECLS |