diff options
author | Max Kellermann <max@duempel.org> | 2013-07-28 13:25:12 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-07-28 13:25:12 +0200 |
commit | ba161ec572b98d3bcf9f735ff122133319fe896a (patch) | |
tree | a211690e3a8b7fce1fb6db540228122bead1f2bc /src/cue/CueParser.hxx | |
parent | 43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (diff) | |
download | mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.gz mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.xz mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.zip |
song: convert header to C++
Diffstat (limited to 'src/cue/CueParser.hxx')
-rw-r--r-- | src/cue/CueParser.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cue/CueParser.hxx b/src/cue/CueParser.hxx index 1266f1a6f..ad2a6f34c 100644 --- a/src/cue/CueParser.hxx +++ b/src/cue/CueParser.hxx @@ -23,6 +23,8 @@ #include "check.h" #include "gcc.h" +struct Song; + class CueParser { enum { /** @@ -58,19 +60,19 @@ class CueParser { /** * The song currently being edited. */ - struct song *current; + Song *current; /** * The previous song. It is remembered because its end_time * will be set to the current song's start time. */ - struct song *previous; + Song *previous; /** * A song that is completely finished and can be returned to * the caller via cue_parser_get(). */ - struct song *finished; + Song *finished; /** * Set to true after previous.end_time has been updated to the @@ -109,7 +111,7 @@ public: * @return a song object that must be freed by the caller, or NULL if * no song was finished at this time */ - struct song *Get(); + Song *Get(); private: gcc_pure |