diff --git a/src/plugins/aprinter.json b/src/plugins/aprinter.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/plugins/aprinterplugin.h b/src/plugins/aprinterplugin.h index 3a4d147..58bb93f 100644 --- a/src/plugins/aprinterplugin.h +++ b/src/plugins/aprinterplugin.h @@ -1,70 +1,70 @@ /* AtCore KDE Libary for 3D Printers Copyright (C) <2016> Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #pragma once #include #include "ifirmware.h" /** * @brief The AprinterPlugin class * Plugin for Aprinter */ class AprinterPlugin : public IFirmware { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware" FILE "aprinter.json") + Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware") Q_INTERFACES(IFirmware) private: /** * @brief command finished string */ static QString _ok; public: /** * @brief Create new AprinterPlugin */ AprinterPlugin(); /** * @brief Return Plugin name * @return Aprinter */ QString name() const override; /** * @brief Check if command contains AprinterPlugin::_ok * @param lastMessage: last message from printer */ void validateCommand(const QString &lastMessage) override; /** * @brief Translate common commands to firmware specific command. * @param command: command to translate * @return firmware specific translated command */ QByteArray translate(const QString &command) override; }; diff --git a/src/plugins/grbl.json b/src/plugins/grbl.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/plugins/grblplugin.h b/src/plugins/grblplugin.h index 7375804..5250458 100644 --- a/src/plugins/grblplugin.h +++ b/src/plugins/grblplugin.h @@ -1,64 +1,64 @@ /* AtCore KDE Libary for 3D Printers Copyright (C) <2016> Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #pragma once #include #include "ifirmware.h" /** * @brief The GrblPlugin class * Plugin for Grbl */ class GrblPlugin : public IFirmware { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware" FILE "grbl.json") + Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware") Q_INTERFACES(IFirmware) public: /** * @brief Create new GrblPlugin */ GrblPlugin(); /** * @brief Return Plugin name * @return Grbl */ QString name() const override; /** * @brief Grbl does not return anything on command execution * @param lastMessage: last message from printer */ void validateCommand(const QString &lastMessage) override; /** * @brief Translate common commands to firmware specific command. * @param command: command to translate * @return firmware specific translated command */ QByteArray translate(const QString &command) override; }; diff --git a/src/plugins/marlin.json b/src/plugins/marlin.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/plugins/marlinplugin.h b/src/plugins/marlinplugin.h index e19c61b..15f13af 100644 --- a/src/plugins/marlinplugin.h +++ b/src/plugins/marlinplugin.h @@ -1,70 +1,70 @@ /* AtCore KDE Libary for 3D Printers Copyright (C) <2016> Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #pragma once #include #include "ifirmware.h" /** * @brief The MarlinPlugin class * Plugin for Marlin */ class MarlinPlugin : public IFirmware { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware" FILE "marlin.json") + Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware") Q_INTERFACES(IFirmware) private: /** * @brief command finished string */ static QString _ok; public: /** * @brief Create new MarlinPlugin */ MarlinPlugin(); /** * @brief Return Plugin name * @return Marlin */ QString name() const override; /** * @brief Check if command contains MarlinPlugin::_ok * @param lastMessage: last message from printer */ void validateCommand(const QString &lastMessage) override; /** * @brief Translate common commands to firmware specific command. * @param command: command to translate * @return firmware specific translated command */ QByteArray translate(const QString &command) override; }; diff --git a/src/plugins/repetier.json b/src/plugins/repetier.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/plugins/repetierplugin.h b/src/plugins/repetierplugin.h index 778f175..ab48f29 100644 --- a/src/plugins/repetierplugin.h +++ b/src/plugins/repetierplugin.h @@ -1,70 +1,70 @@ /* AtCore KDE Libary for 3D Printers Copyright (C) <2016> Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #pragma once #include #include "ifirmware.h" /** * @brief The RepetierPlugin class * Plugin for Repetier */ class RepetierPlugin : public IFirmware { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware" FILE "repetier.json") + Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware") Q_INTERFACES(IFirmware) private: /** * @brief command finished string */ static QString _ok; public: /** * @brief Create new RepetierPlugin */ RepetierPlugin(); /** * @brief Return Plugin name * @return Repetier */ QString name() const override; /** * @brief Check if command contains RepetierPlugin::_ok * @param lastMessage: last message from printer */ void validateCommand(const QString &lastMessage) override; /** * @brief Translate common commands to firmware specific command. * @param command: command to translate * @return firmware specific translated command */ QByteArray translate(const QString &command) override; }; diff --git a/src/plugins/smoothie.json b/src/plugins/smoothie.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/plugins/smoothieplugin.h b/src/plugins/smoothieplugin.h index d91d3ff..ebeb467 100644 --- a/src/plugins/smoothieplugin.h +++ b/src/plugins/smoothieplugin.h @@ -1,70 +1,70 @@ /* AtCore KDE Libary for 3D Printers Copyright (C) <2016> Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #pragma once #include #include "ifirmware.h" /** * @brief The SmoothiePlugin class * Plugin for Smoothie */ class SmoothiePlugin : public IFirmware { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware" FILE "smoothie.json") + Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware") Q_INTERFACES(IFirmware) private: /** * @brief command finished string */ static QString _ok; public: /** * @brief Create new SmoothiePlugin */ SmoothiePlugin(); /** * @brief Return Plugin name * @return Smoothie */ QString name() const override; /** * @brief Check if command contains SmoothiePlugin::_ok * @param lastMessage: last message from printer */ void validateCommand(const QString &lastMessage) override; /** * @brief Translate common commands to firmware specific command. * @param command: command to translate * @return firmware specific translated command */ QByteArray translate(const QString &command) override; }; diff --git a/src/plugins/sprinter.json b/src/plugins/sprinter.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/plugins/sprinterplugin.h b/src/plugins/sprinterplugin.h index 50f0a6e..6e36629 100644 --- a/src/plugins/sprinterplugin.h +++ b/src/plugins/sprinterplugin.h @@ -1,70 +1,70 @@ /* AtCore KDE Libary for 3D Printers Copyright (C) <2016> Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #pragma once #include #include "ifirmware.h" /** * @brief The SprinterPlugin class * Plugin for Sprinter */ class SprinterPlugin : public IFirmware { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware" FILE "sprinter.json") + Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware") Q_INTERFACES(IFirmware) private: /** * @brief command finished string */ static QString _ok; public: /** * @brief Create new SprinterPlugin */ SprinterPlugin(); /** * @brief Return Plugin name * @return Sprinter */ QString name() const override; /** * @brief Check if command contains SprinterPlugin::_ok * @param lastMessage: last message from printer */ void validateCommand(const QString &lastMessage) override; /** * @brief Translate common commands to firmware specific command. * @param command: command to translate * @return firmware specific translated command */ QByteArray translate(const QString &command) override; }; diff --git a/src/plugins/teacup.json b/src/plugins/teacup.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/plugins/teacupplugin.h b/src/plugins/teacupplugin.h index a80ec8e..fd067ad 100644 --- a/src/plugins/teacupplugin.h +++ b/src/plugins/teacupplugin.h @@ -1,70 +1,70 @@ /* AtCore KDE Libary for 3D Printers Copyright (C) <2016> Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) version 3, or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 6 of version 3 of the license. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #pragma once #include #include "ifirmware.h" /** * @brief The TeacupPlugin class * Plugin for Teacup */ class TeacupPlugin : public IFirmware { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware" FILE "teacup.json") + Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware") Q_INTERFACES(IFirmware) private: /** * @brief command finished string */ static QString _ok; public: /** * @brief Create new TeacupPlugin */ TeacupPlugin(); /** * @brief Return Plugin name * @return Teacup */ QString name() const override; /** * @brief Check if command contains TeacupPlugin::_ok * @param lastMessage: last message from printer */ void validateCommand(const QString &lastMessage) override; /** * @brief Translate common commands to firmware specific command. * @param command: command to translate * @return firmware specific translated command */ QByteArray translate(const QString &command) override; };