mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-23 12:13:11 +00:00
33 lines
No EOL
661 B
C++
Executable file
33 lines
No EOL
661 B
C++
Executable file
#pragma once
|
|
|
|
#ifdef __VERIFY_NSP__
|
|
#include <string>
|
|
|
|
namespace tin::install
|
|
{
|
|
enum class VerificationErrorType
|
|
{
|
|
CRITICAL, WARNING
|
|
};
|
|
|
|
enum class VerificationLevel
|
|
{
|
|
ERROR_ALL, ERROR_CRITICAL_WARN, ERROR_CRITICAL_IGNORE_WARN, WARN_ALL
|
|
};
|
|
|
|
class NSPVerifier
|
|
{
|
|
private:
|
|
std::string m_nspPath;
|
|
|
|
public:
|
|
NSPVerifier(std::string nspPath);
|
|
|
|
bool PerformVerification();
|
|
|
|
void PrintCritical(std::string text);
|
|
void PrintWarning(std::string text);
|
|
void PrintSuccess(std::string text);
|
|
};
|
|
}
|
|
#endif |