Initialized cli project.
This commit is contained in:
20
GhettoCryptCLI/CommandlineInterface.h
Normal file
20
GhettoCryptCLI/CommandlineInterface.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "Hazelnupp.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();
|
||||
|
||||
CommandlineInterface() {};
|
||||
|
||||
static Hazelnp::CmdArgsInterface nupp;
|
||||
};
|
||||
Reference in New Issue
Block a user