6
0
mirror of https://github.com/JKornev/hidden synced 2024-06-28 18:02:15 +00:00
hidden/HiddenCLI/Hide.h
2016-12-15 02:30:31 +03:00

44 lines
854 B
C++

#pragma once
#include "Commands.h"
class CommandHide : public ICommand
{
const wchar_t* m_command = nullptr;
EObjTypes m_hideType;
HidRegRootTypes m_regRootType;
std::wstring m_path;
public:
CommandHide();
virtual ~CommandHide();
virtual bool CompareCommand(std::wstring& command);
virtual void LoadArgs(Arguments& args);
virtual void PerformCommand(Connection& connection);
virtual CommandPtr CreateInstance();
};
class CommandUnhide : public ICommand
{
const wchar_t* m_command = nullptr;
EObjTypes m_hideType;
HidObjId m_targetId;
bool m_targetAll;
public:
CommandUnhide();
virtual ~CommandUnhide();
virtual bool CompareCommand(std::wstring& command);
virtual void LoadArgs(Arguments& args);
virtual void PerformCommand(Connection& connection);
virtual CommandPtr CreateInstance();
};