tahoma2d/toonz/sources/stopmotion/stopmotionserial.h
2020-04-26 22:19:06 -06:00

30 lines
No EOL
634 B
C++

#pragma once
#ifndef STOPMOTIONSERIAL_H
#define STOPMOTIONSERIAL_H
#include <QObject>
class QSerialPort;
//=============================================================================
// StopMotionSerial
//-----------------------------------------------------------------------------
class StopMotionSerial : public QObject {
Q_OBJECT
public:
StopMotionSerial();
~StopMotionSerial();
QStringList m_controlBaudRates, m_serialDevices;
QSerialPort* m_serialPort;
// motion control
QStringList getAvailableSerialPorts();
bool setSerialPort(QString port);
void sendSerialData();
};
#endif // STOPMOTIONSERIAL_H