27 #ifndef SERIALPLUGIN_H
28 #define SERIALPLUGIN_H
31 #include <QtSerialPort/QSerialPort>
32 #include <QtSerialPort/QSerialPortInfo>
40 class QSerialPortInfo;
57 virtual void closeDevice(
const QString &deviceName);
69 QSerialPort *serialHandle;
90 Q_PLUGIN_METADATA(IID
"org.dronin.plugins.Serial")
96 virtual bool initialize(
const QStringList &arguments, QString *error_message);
97 virtual void extensionsInitialized();
103 #endif // SERIALPLUGIN_H
virtual ~SerialConnection()
virtual QString shortName()
virtual bool reconnect()
Used to flag that the device wants that we try to reconnect if it gets disconnected Currently this sh...
virtual void closeDevice(const QString &deviceName)
SerialPluginOptionsPage * Optionspage() const
void onEnumerationChanged()
virtual QIODevice * openDevice(Core::IDevice *deviceName)
virtual QList< Core::IDevice * > availableDevices()
virtual void suspendPolling()
virtual QString connectionName()
virtual void resumePolling()
Base class for all plugins.
SerialPluginConfiguration * Config() const