test_sdk/hw/gtl_hw.h

33 lines
570 B
C
Raw Normal View History

#ifndef GTL_HW_H
#define GTL_HW_H
#include <QStringList>
#include <QDir>
#include <QDebug>
#include <QPluginLoader>
#include "hw_global.h"
#include "gtl_hardware_interface.h"
namespace gtl
{
namespace hw
{
class HW_EXPORT hw : public QObject
{
public:
hw(QString path, QObject* parent = NULL);
QStringList devices() const;
device* create_device(QString device, QObject* parent = NULL);
private:
QMultiMap<QString, QObject*> _instances;
};
}
}
#endif // GTL_HW_H