6307d2869e
Hopefully by the end of tonight we should be done with the dev spec parser.
27 lines
527 B
C++
27 lines
527 B
C++
#ifndef DEVICEMANAGER_H
|
|
#define DEVICEMANAGER_H
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
#include <opts.h>
|
|
|
|
class DeviceManager
|
|
{
|
|
public:
|
|
static DeviceManager& getInstance()
|
|
{
|
|
static DeviceManager instance;
|
|
return instance;
|
|
}
|
|
|
|
void handleDeviceSpecifiers(const OptionParser& options);
|
|
|
|
private:
|
|
DeviceManager() = default;
|
|
~DeviceManager() = default;
|
|
DeviceManager(const DeviceManager&) = delete;
|
|
DeviceManager& operator=(const DeviceManager&) = delete;
|
|
};
|
|
|
|
#endif // DEVICEMANAGER_H
|