diff options
Diffstat (limited to 'src/query_parser.hh')
| -rw-r--r-- | src/query_parser.hh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/query_parser.hh b/src/query_parser.hh new file mode 100644 index 0000000..4c12502 --- /dev/null +++ b/src/query_parser.hh @@ -0,0 +1,23 @@ +#ifndef QUERY_PARSER_HH +#define QUERY_PARSER_HH + +#include <map> +#include <string> + +namespace stuff { + +class QueryParser { +public: + static bool parse(const std::string& in, + std::map<std::string, std::string>* out); + +private: + QueryParser() {} + ~QueryParser() {} + QueryParser(const QueryParser&) = delete; + QueryParser& operator=(const QueryParser&) = delete; +}; + +} // namespace stuff + +#endif /* QUERY_PARSER_HH */ |
