Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/grblplugin.cpp
Show All 33 Lines | 33 | { | |||
---|---|---|---|---|---|
34 | return QStringLiteral("Grbl"); | 34 | return QStringLiteral("Grbl"); | ||
35 | } | 35 | } | ||
36 | 36 | | |||
37 | GrblPlugin::GrblPlugin() | 37 | GrblPlugin::GrblPlugin() | ||
38 | { | 38 | { | ||
39 | qCDebug(GRBL_PLUGIN) << name() << " plugin loaded!"; | 39 | qCDebug(GRBL_PLUGIN) << name() << " plugin loaded!"; | ||
40 | } | 40 | } | ||
41 | 41 | | |||
42 | bool GrblPlugin::isSdSupported() const | ||||
43 | { | ||||
44 | return false; | ||||
45 | } | ||||
46 | | ||||
42 | void GrblPlugin::validateCommand(const QString &lastMessage) | 47 | void GrblPlugin::validateCommand(const QString &lastMessage) | ||
43 | { | 48 | { | ||
44 | if (lastMessage.contains(QStringLiteral("ok"))) { | 49 | if (lastMessage.contains(QStringLiteral("ok"))) { | ||
45 | emit readyForCommand(); | 50 | emit readyForCommand(); | ||
46 | } | 51 | } | ||
47 | } | 52 | } | ||
48 | 53 | | |||
49 | QByteArray GrblPlugin::translate(const QString &command) | 54 | QByteArray GrblPlugin::translate(const QString &command) | ||
Show All 23 Lines |