CommandLine: migrate from class Error to C++ exceptions

This commit is contained in:
Max Kellermann
2016-11-02 10:30:46 +01:00
parent 9990e8473c
commit c8bb3c0b71
3 changed files with 17 additions and 35 deletions

View File

@@ -20,8 +20,6 @@
#ifndef MPD_COMMAND_LINE_HXX
#define MPD_COMMAND_LINE_HXX
class Error;
struct options {
bool kill;
bool daemon;
@@ -29,8 +27,7 @@ struct options {
bool verbose;
};
bool
parse_cmdline(int argc, char **argv, struct options *options,
Error &error);
void
ParseCommandLine(int argc, char **argv, struct options *options);
#endif