2016-12-04 19:27:46 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Helper.h"
|
2016-12-05 22:37:18 +00:00
|
|
|
#include "../HiddenLib/HiddenLib.h"
|
2016-12-04 19:27:46 +00:00
|
|
|
|
|
|
|
class Connection
|
|
|
|
{
|
2016-12-05 22:37:18 +00:00
|
|
|
private:
|
|
|
|
|
|
|
|
HidContext m_context;
|
|
|
|
|
|
|
|
std::wstring m_deviceName;
|
|
|
|
|
2016-12-04 19:27:46 +00:00
|
|
|
public:
|
2016-12-05 22:37:18 +00:00
|
|
|
|
|
|
|
Connection(Arguments& args);
|
|
|
|
~Connection();
|
|
|
|
|
|
|
|
void Open();
|
|
|
|
|
|
|
|
HidContext GetContext();
|
2016-12-04 19:27:46 +00:00
|
|
|
};
|
2016-12-25 20:56:18 +00:00
|
|
|
|
|
|
|
class LibInitializator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LibInitializator();
|
|
|
|
~LibInitializator();
|
|
|
|
};
|