您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

gpiomanager.h 340B

12345678910111213141516171819
  1. #ifndef GPIOMANAGER_H
  2. #define GPIOMANAGER_H
  3. #include "inputmanager.h"
  4. class GpioManager : public InputManager
  5. {
  6. Q_OBJECT
  7. public:
  8. GpioManager(QObject* parent = 0);
  9. virtual ~GpioManager();
  10. public slots:
  11. bool init(const QVariant &pins) override;
  12. QVariant read(const QVariant &pin) override;
  13. };
  14. #endif // GPIOMANAGER_H