Major refactoring, transferring from masterd

This commit is contained in:
PixlOne
2019-07-17 01:53:51 -04:00
parent 2190b527a7
commit 9c092edcf3
17 changed files with 1653 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef MASTEROPTIONS_DEVICEFINDER_H
#define MASTEROPTIONS_DEVICEFINDER_H
#include "Device.h"
struct handler_pair;
class DeviceFinder : public HID::DeviceMonitor
{
protected:
void addDevice(const char* path);
void removeDevice(const char* path);
std::map<Device*, std::future<void>> handlers;
};
void find_device();
#endif //MASTEROPTIONS_DEVICEFINDER_H