AtCore  1.0.72
AtCore is a API to manage the serial connection between the computer and 3D Printers.
repetierplugin.h
Go to the documentation of this file.
1 /* AtCore KDE Libary for 3D Printers
2  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
3  SPDX-FileCopyrightText: 2016 Tomaz Canabrava <tcanabrava@kde.org>
4  SPDX-FileCopyrightText: 2016-2018 Chris Rizzitello <rizzitello@kde.org>
5  SPDX-FileCopyrightText: 2016-2018 Patrick José Pereira <patrickjp@kde.org>
6 */
7 
8 #pragma once
9 
10 #include <QObject>
11 
12 #include "ifirmware.h"
17 class RepetierPlugin : public IFirmware
18 {
19  Q_OBJECT
20  Q_PLUGIN_METADATA(IID "org.kde.atelier.core.firmware")
21  Q_INTERFACES(IFirmware)
22 
23 public:
28  ~RepetierPlugin() = default;
29 
34  virtual bool isSdSupported() const override;
35 
40  QString name() const override;
41 
46  void validateCommand(const QString &lastMessage) override;
47 };
ifirmware.h
RepetierPlugin::~RepetierPlugin
~RepetierPlugin()=default
RepetierPlugin::validateCommand
void validateCommand(const QString &lastMessage) override
validateCommand to filter commands from messages
Definition: repetierplugin.cpp:32
IFirmware
The IFirmware class Base Class for Firmware Plugins.
Definition: ifirmware.h:24
RepetierPlugin::RepetierPlugin
RepetierPlugin()
Create new RepetierPlugin.
Definition: repetierplugin.cpp:27
RepetierPlugin::name
QString name() const override
Return Plugin name.
Definition: repetierplugin.cpp:17
RepetierPlugin::isSdSupported
virtual bool isSdSupported() const override
Check for plugin support of sd cards.
Definition: repetierplugin.cpp:22
RepetierPlugin
The RepetierPlugin class Plugin for Repetier.
Definition: repetierplugin.h:17