externalsim.h 621 B

1234567891011121314151617181920212223242526
  1. #ifndef EXTERNALSIM_H
  2. #define EXTERNALSIM_H
  3. #include <QObject>
  4. #include <QUrl>
  5. class ExternalSim : public QObject
  6. {
  7. Q_OBJECT
  8. public:
  9. uint32_t PlatformID;
  10. uint32_t InstanceID;
  11. bool SwitchMode;
  12. QString Name;
  13. QUrl SimulatorUrl;
  14. explicit ExternalSim(QObject *parent = nullptr, uint32_t PlatformID = 0,
  15. uint32_t InstanceID = 0, bool SwitchMode = false,
  16. QString Name = QString::fromLocal8Bit("未知模拟器"),
  17. QUrl SimulationUrl = QUrl(QStringLiteral("ws://localhost:1235")));
  18. signals:
  19. };
  20. #endif // EXTERNALSIM_H