aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/despotify/DespotifyUtils.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-09 22:10:17 +0100
committerMax Kellermann <max@duempel.org>2014-12-09 22:10:17 +0100
commitc486c5bf5b4ec2e76be5a42faf96468d6bbf44d2 (patch)
tree87d44964c1d548dfe9e7aee3099fa8ffa190e233 /src/lib/despotify/DespotifyUtils.hxx
parentfc0b6d143aadacc28c0039eaf21cb24826151974 (diff)
downloadmpd-c486c5bf5b4ec2e76be5a42faf96468d6bbf44d2.tar.gz
mpd-c486c5bf5b4ec2e76be5a42faf96468d6bbf44d2.tar.xz
mpd-c486c5bf5b4ec2e76be5a42faf96468d6bbf44d2.zip
DespotifyUtils: fix coding style
Diffstat (limited to 'src/lib/despotify/DespotifyUtils.hxx')
-rw-r--r--src/lib/despotify/DespotifyUtils.hxx17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/despotify/DespotifyUtils.hxx b/src/lib/despotify/DespotifyUtils.hxx
index 835b901a2..a21632bb8 100644
--- a/src/lib/despotify/DespotifyUtils.hxx
+++ b/src/lib/despotify/DespotifyUtils.hxx
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_DESPOTIFY_H
-#define MPD_DESPOTIFY_H
+#ifndef MPD_DESPOTIFY_UTILS_HXX
+#define MPD_DESPOTIFY_UTILS_HXX
struct Tag;
struct despotify_session;
@@ -35,7 +35,8 @@ extern const class Domain despotify_domain;
* @return a pointer to the despotify session, or nullptr if it can't
* be initialized (e.g., if the configuration isn't supplied)
*/
-struct despotify_session *mpd_despotify_get_session(void);
+struct despotify_session *
+mpd_despotify_get_session();
/**
* Create a MPD tags structure from a spotify track
@@ -57,15 +58,19 @@ mpd_despotify_tag_from_track(const ds_track &track);
*
* @return true if the callback could be registered
*/
-bool mpd_despotify_register_callback(void (*cb)(struct despotify_session *, int, void *, void *),
- void *cb_data);
+bool
+mpd_despotify_register_callback(void (*cb)(struct despotify_session *, int,
+ void *, void *),
+ void *cb_data);
/**
* Unregister a despotify callback.
*
* @param cb the callback to unregister.
*/
-void mpd_despotify_unregister_callback(void (*cb)(struct despotify_session *, int, void *, void *));
+void
+mpd_despotify_unregister_callback(void (*cb)(struct despotify_session *, int,
+ void *, void *));
#endif