6
0
mirror of https://github.com/JKornev/hidden synced 2024-06-28 18:02:15 +00:00
hidden/HiddenCLI/Ignore.h
2016-12-07 02:19:54 +03:00

41 lines
908 B
C++

#pragma once
#include "Commands.h"
class CommandIgnore : public ICommand
{
const wchar_t* m_command = nullptr;
EProcTypes m_procType;
std::wstring m_targetImage;
HidProcId m_targetProcId;
HidPsInheritTypes m_inheritType;
bool m_applyByDefault;
HidPsInheritTypes LoadInheritOption(Arguments& args, HidPsInheritTypes default);
bool LoadApplyOption(Arguments& args, bool applyByDefault);
public:
CommandIgnore();
virtual ~CommandIgnore();
virtual bool CompareCommand(std::wstring& command);
virtual void LoadArgs(Arguments& args);
virtual void PerformCommand(Connection& connection);
};
class CommandUnignore : public ICommand
{
const wchar_t* m_command = nullptr;
public:
CommandUnignore();
virtual ~CommandUnignore();
virtual bool CompareCommand(std::wstring& command);
virtual void LoadArgs(Arguments& args);
virtual void PerformCommand(Connection& connection);
};