From f8c4fe1614cc79df9f97c8a7754cf2a5aaf5063d Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 9 Jul 2024 18:58:56 +0200 Subject: Use libreichwein, and googletest from Debian --- programopts.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 programopts.h (limited to 'programopts.h') diff --git a/programopts.h b/programopts.h deleted file mode 100644 index af706f7..0000000 --- a/programopts.h +++ /dev/null @@ -1,24 +0,0 @@ -// Parse command line options of program - -#pragma once - -#include -#include -#include -#include -#include - -class ProgramOpts -{ -public: - // Processing of options in lambdas: each do return true iff parameter was consumed - ProgramOpts(int argc, char* argv[], std::map>& option_prefixes); - ~ProgramOpts(); - void process(); // must be called to run functions per option, given to ctor - std::string programName(); - std::vector nonOptionArguments(); -private: - struct impl; - std::unique_ptr m_pimpl; -}; - -- cgit v1.2.3