From 6cd00aacfa22fed6a54a9b812f6b069ad16feec0 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 29 Jun 2025 22:24:42 +0500 Subject: Move game sources into src subdirectory --- src/core/cmdline.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/core/cmdline.hh (limited to 'src/core/cmdline.hh') diff --git a/src/core/cmdline.hh b/src/core/cmdline.hh new file mode 100644 index 0000000..8441a44 --- /dev/null +++ b/src/core/cmdline.hh @@ -0,0 +1,13 @@ +#ifndef CORE_CMDLINE_HH +#define CORE_CMDLINE_HH 1 +#pragma once + +namespace cmdline +{ +void create(int argc, char** argv); +void insert(const char* option, const char* argument = nullptr); +const char* get(const char* option, const char* fallback = nullptr); +bool contains(const char* option); +} // namespace cmdline + +#endif /* CORE_CMDLINE_HH */ -- cgit