OpenHantek
Loading...
Searching...
No Matches
modelDEMO.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2
3#pragma once
4
5#include "dsomodel.h"
6
8using namespace Hantek;
9
10const int DemoDeviceID = 0xDEDE;
11
12struct ModelDEMO : public DSOModel {
13 static const int ID = DemoDeviceID;
14 ModelDEMO();
15 void applyRequirements( HantekDsoControl *dsoControl ) const override;
16};
DSOModel(int id, unsigned vendorID, unsigned productID, unsigned vendorIDnoFirmware, unsigned productIDnoFirmware, unsigned firmwareVersion, const QString &firmwareToken, const QString &name, const Dso::ControlSpecification &&specification)
Definition dsomodel.cpp:6
The DsoControl abstraction layer for Hantek USB DSOs. TODO Please anyone, refactor this class into sm...
Definition hantekdsocontrol.h:53
const int DemoDeviceID
Definition modelDEMO.h:10
Definition controlsettings.h:9
void applyRequirements(HantekDsoControl *dsoControl) const override
This model may need to modify the HantekDsoControl class to work correctly.
Definition modelDEMO.cpp:114
ModelDEMO()
Definition modelDEMO.cpp:110
static const int ID
Definition modelDEMO.h:13