Get to the point where we are fairly happy with our uncrustify config. Fixes #6.
This commit is contained in:
parent
d07d3dfe50
commit
62de9c2032
58 changed files with 4811 additions and 1946 deletions
|
@ -24,7 +24,7 @@ G_BEGIN_DECLS
|
|||
|
||||
/**
|
||||
* Type Definition
|
||||
**/
|
||||
**/
|
||||
|
||||
#define KOTO_TYPE_CARTOGRAPHER koto_cartographer_get_type()
|
||||
|
||||
|
@ -36,39 +36,135 @@ GType koto_cartographer_get_type(void) G_GNUC_CONST;
|
|||
|
||||
/**
|
||||
* Cartographer Functions
|
||||
**/
|
||||
**/
|
||||
|
||||
KotoCartographer* koto_cartographer_new();
|
||||
KotoCartographer * koto_cartographer_new();
|
||||
|
||||
void koto_cartographer_add_album(KotoCartographer *self, KotoIndexedAlbum *album);
|
||||
void koto_cartographer_add_artist(KotoCartographer *self, KotoIndexedArtist *artist);
|
||||
void koto_cartographer_add_playlist(KotoCartographer *self, KotoPlaylist *playlist);
|
||||
void koto_cartographer_add_track(KotoCartographer *self, KotoIndexedTrack *track);
|
||||
void koto_cartographer_add_album(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedAlbum * album
|
||||
);
|
||||
|
||||
void koto_cartographer_emit_playlist_added(KotoPlaylist *playlist, KotoCartographer *self);
|
||||
void koto_cartographer_add_artist(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedArtist * artist
|
||||
);
|
||||
|
||||
KotoIndexedAlbum* koto_cartographer_get_album_by_uuid(KotoCartographer *self, gchar* album_uuid);
|
||||
KotoIndexedArtist* koto_cartographer_get_artist_by_uuid(KotoCartographer *self, gchar* artist_uuid);
|
||||
KotoPlaylist* koto_cartographer_get_playlist_by_uuid(KotoCartographer *self, gchar* playlist_uuid);
|
||||
GHashTable* koto_cartographer_get_playlists(KotoCartographer *self);
|
||||
KotoIndexedTrack* koto_cartographer_get_track_by_uuid(KotoCartographer *self, gchar* track_uuid);
|
||||
void koto_cartographer_add_playlist(
|
||||
KotoCartographer * self,
|
||||
KotoPlaylist * playlist
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_album(KotoCartographer *self, KotoIndexedAlbum *album);
|
||||
gboolean koto_cartographer_has_album_by_uuid(KotoCartographer *self, gchar* album_uuid);
|
||||
gboolean koto_cartographer_has_artist(KotoCartographer *self, KotoIndexedArtist *artist);
|
||||
gboolean koto_cartographer_has_artist_by_uuid(KotoCartographer *self, gchar* artist_uuid);
|
||||
gboolean koto_cartographer_has_playlist(KotoCartographer *self, KotoPlaylist *playlist);
|
||||
gboolean koto_cartographer_has_playlist_by_uuid(KotoCartographer *self, gchar* playlist_uuid);
|
||||
gboolean koto_cartographer_has_track(KotoCartographer *self, KotoIndexedTrack *track);
|
||||
gboolean koto_cartographer_has_track_by_uuid(KotoCartographer *self, gchar* track_uuid);
|
||||
void koto_cartographer_add_track(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedTrack * track
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_album(KotoCartographer *self, KotoIndexedAlbum *album);
|
||||
void koto_cartographer_remove_album_by_uuid(KotoCartographer *self, gchar* album_uuid);
|
||||
void koto_cartographer_remove_artist(KotoCartographer *self, KotoIndexedArtist *artist);
|
||||
void koto_cartographer_remove_artist_by_uuid(KotoCartographer *self, gchar* artist_uuid);
|
||||
void koto_cartographer_remove_playlist(KotoCartographer *self, KotoPlaylist *playlist);
|
||||
void koto_cartographer_remove_playlist_by_uuid(KotoCartographer *self, gchar* playlist_uuid);
|
||||
void koto_cartographer_remove_track(KotoCartographer *self, KotoIndexedTrack *track);
|
||||
void koto_cartographer_remove_track_by_uuid(KotoCartographer *self, gchar* track_uuid);
|
||||
void koto_cartographer_emit_playlist_added(
|
||||
KotoPlaylist * playlist,
|
||||
KotoCartographer * self
|
||||
);
|
||||
|
||||
KotoIndexedAlbum * koto_cartographer_get_album_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* album_uuid
|
||||
);
|
||||
|
||||
KotoIndexedArtist * koto_cartographer_get_artist_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* artist_uuid
|
||||
);
|
||||
|
||||
KotoPlaylist * koto_cartographer_get_playlist_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* playlist_uuid
|
||||
);
|
||||
|
||||
GHashTable * koto_cartographer_get_playlists(KotoCartographer * self);
|
||||
|
||||
KotoIndexedTrack * koto_cartographer_get_track_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* track_uuid
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_album(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedAlbum * album
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_album_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* album_uuid
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_artist(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedArtist * artist
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_artist_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* artist_uuid
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_playlist(
|
||||
KotoCartographer * self,
|
||||
KotoPlaylist * playlist
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_playlist_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* playlist_uuid
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_track(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedTrack * track
|
||||
);
|
||||
|
||||
gboolean koto_cartographer_has_track_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* track_uuid
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_album(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedAlbum * album
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_album_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* album_uuid
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_artist(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedArtist * artist
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_artist_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* artist_uuid
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_playlist(
|
||||
KotoCartographer * self,
|
||||
KotoPlaylist * playlist
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_playlist_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* playlist_uuid
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_track(
|
||||
KotoCartographer * self,
|
||||
KotoIndexedTrack * track
|
||||
);
|
||||
|
||||
void koto_cartographer_remove_track_by_uuid(
|
||||
KotoCartographer * self,
|
||||
gchar* track_uuid
|
||||
);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue