2022-05-27 03:29:51 +02:00
|
|
|
#ifndef GCRYPTCLI_CLIINTERFACE_H
|
|
|
|
#define GCRYPTCLI_CLIINTERFACE_H
|
|
|
|
|
2022-05-17 01:13:42 +02:00
|
|
|
#include <Hazelnupp/CmdArgsInterface.h>
|
|
|
|
|
|
|
|
class CommandlineInterface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void Init(const int argc, const char* const* argv);
|
|
|
|
|
|
|
|
static Hazelnp::CmdArgsInterface& Get();
|
|
|
|
|
|
|
|
private:
|
|
|
|
//! Special command compatibility checking unique to this app
|
|
|
|
static void SpecialCompatibilityChecking();
|
|
|
|
static void CrashWithMsg(const std::string& msg);
|
|
|
|
static void CatchVersionQueries();
|
|
|
|
|
|
|
|
static Hazelnp::CmdArgsInterface nupp;
|
2022-05-31 14:28:17 +02:00
|
|
|
|
|
|
|
// No instanciation! >:(
|
|
|
|
CommandlineInterface() {};
|
2022-05-17 01:13:42 +02:00
|
|
|
};
|
|
|
|
|
2022-05-27 03:29:51 +02:00
|
|
|
#endif
|
|
|
|
|