From a5c28bcb2ead34e921617711ebf94ffcb5d72878 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 23 May 2016 09:54:08 +0300 Subject: File/dir renames --- libkmstest/opts.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 libkmstest/opts.h (limited to 'libkmstest/opts.h') diff --git a/libkmstest/opts.h b/libkmstest/opts.h deleted file mode 100644 index 1b0fd22..0000000 --- a/libkmstest/opts.h +++ /dev/null @@ -1,38 +0,0 @@ -#pragma once - -#include -#include -#include - -class Option -{ - friend class OptionSet; -public: - Option(const std::string& str, std::function func); - Option(const std::string& str, std::function func); - -private: - void parse(const std::string& str); - - char m_short; - std::string m_long; - int m_has_arg; - std::function m_void_func; - std::function m_func; -}; - -class OptionSet -{ -public: - OptionSet(std::initializer_list