aboutsummaryrefslogtreecommitdiffstats
path: root/src/cue/cue_parser.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-09 00:22:35 +0200
committerMax Kellermann <max@duempel.org>2013-04-09 00:38:03 +0200
commit2090911363a131b2a38d39d3b8458eae02889e57 (patch)
treef4aca1787b5986a91cdcf95e5f15d433c12089ff /src/cue/cue_parser.h
parent3cc7be0fa6ad68fae6f3d1938e2f7f5a2e951454 (diff)
downloadmpd-2090911363a131b2a38d39d3b8458eae02889e57.tar.gz
mpd-2090911363a131b2a38d39d3b8458eae02889e57.tar.xz
mpd-2090911363a131b2a38d39d3b8458eae02889e57.zip
cue_parser: convert to C++
Diffstat (limited to 'src/cue/cue_parser.h')
-rw-r--r--src/cue/cue_parser.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/cue/cue_parser.h b/src/cue/cue_parser.h
deleted file mode 100644
index d8d695739..000000000
--- a/src/cue/cue_parser.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
- * http://www.musicpd.org
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef MPD_CUE_PARSER_H
-#define MPD_CUE_PARSER_H
-
-#include "check.h"
-
-#include <stdbool.h>
-
-struct cue_parser *
-cue_parser_new(void);
-
-void
-cue_parser_free(struct cue_parser *parser);
-
-/**
- * Feed a text line from the CUE file into the parser. Call
- * cue_parser_get() after this to see if a song has been finished.
- */
-void
-cue_parser_feed(struct cue_parser *parser, const char *line);
-
-/**
- * Tell the parser that the end of the file has been reached. Call
- * cue_parser_get() after this to see if a song has been finished.
- * This procedure must be done twice!
- */
-void
-cue_parser_finish(struct cue_parser *parser);
-
-/**
- * Check if a song was finished by the last cue_parser_feed() or
- * cue_parser_finish() call.
- *
- * @return a song object that must be freed by the caller, or NULL if
- * no song was finished at this time
- */
-struct song *
-cue_parser_get(struct cue_parser *parser);
-
-#endif