Added classes Process and Arguments.

This commit is contained in:
XMRig 2019-02-15 05:42:46 +07:00
parent 0450c31449
commit f4d2dec628
18 changed files with 373 additions and 82 deletions

View file

@ -39,18 +39,19 @@ namespace xmrig {
class Config;
class ControllerPrivate;
class IControllerListener;
class Process;
class Controller : public IConfigListener
{
public:
Controller();
Controller(Process *process);
~Controller() override;
bool isDone() const;
bool isReady() const;
Config *config() const;
int init(int argc, char **argv);
int init();
Network *network() const;
void addListener(IControllerListener *listener);