mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
33 lines
No EOL
628 B
C++
33 lines
No EOL
628 B
C++
#ifndef MANAGER_H
|
|
#define MANAGER_H
|
|
|
|
#include <string>
|
|
#include <winternl.h>
|
|
#include <Windows.h>
|
|
#include <mutex>
|
|
#include <thread>
|
|
#include <vector>
|
|
|
|
#include "process.h"
|
|
|
|
namespace usermode
|
|
{
|
|
/*
|
|
* The manager class is meant to abstract away the interaction between the Process
|
|
* class and the threadpool class to allow a single thread (or multiple) to easily run
|
|
* the core business logic of running tasks in a certain order.
|
|
*/
|
|
class Manager
|
|
{
|
|
std::string process_name;
|
|
std::unique_ptr<Process> process;
|
|
|
|
public:
|
|
Manager( std::string ProcessName );
|
|
~Manager();
|
|
|
|
void ValidateProcessThreads();
|
|
};
|
|
}
|
|
|
|
#endif |