summaryrefslogtreecommitdiff
path: root/src/commandline.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-02 15:51:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-02 16:54:28 +0300
commit6a8bbbcf85f8f15000894cb106af7b87db26f485 (patch)
tree42608b40a15fc7d9a5d69d514b03eb4b754f7e7a /src/commandline.h
parentd5ebca96984c0b1b63f0ec249fd22dc84acfa8a5 (diff)
downloadmanaverse-6a8bbbcf85f8f15000894cb106af7b87db26f485.tar.gz
manaverse-6a8bbbcf85f8f15000894cb106af7b87db26f485.tar.bz2
manaverse-6a8bbbcf85f8f15000894cb106af7b87db26f485.tar.xz
manaverse-6a8bbbcf85f8f15000894cb106af7b87db26f485.zip
Move command line options parsing to separate file.
Diffstat (limited to 'src/commandline.h')
-rw-r--r--src/commandline.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/commandline.h b/src/commandline.h
new file mode 100644
index 000000000..1d95cdc53
--- /dev/null
+++ b/src/commandline.h
@@ -0,0 +1,30 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2004-2009 The Mana World Development Team
+ * Copyright (C) 2009-2010 The Mana Developers
+ * Copyright (C) 2011-2015 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * 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
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef COMMANDLINE_H
+#define COMMANDLINE_H
+
+#include "localconsts.h"
+
+void parseOptions(const int argc, char *const argv[]);
+
+#endif // COMMANDLINE_H