Changeset View
Changeset View
Standalone View
Standalone View
src/core/ifirmware.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
48 | 48 | | |||
49 | /** | 49 | /** | ||
50 | * @brief Check for plugin support of sd cards. | 50 | * @brief Check for plugin support of sd cards. | ||
51 | * @return True if firmware plugin supports sd cards. | 51 | * @return True if firmware plugin supports sd cards. | ||
52 | */ | 52 | */ | ||
53 | virtual bool isSdSupported() const = 0; | 53 | virtual bool isSdSupported() const = 0; | ||
54 | 54 | | |||
55 | /** | 55 | /** | ||
56 | * @brief Virtual name to be reimplemnted by Firmware plugin | 56 | * @brief Virtual name to be reimplemented by Firmware plugin | ||
57 | * | 57 | * | ||
58 | * Return the name the firmware the plugin is for | 58 | * Return the name the firmware the plugin is for | ||
59 | * @return Firmware Name | 59 | * @return Firmware Name | ||
60 | */ | 60 | */ | ||
61 | virtual QString name() const = 0; | 61 | virtual QString name() const = 0; | ||
62 | 62 | | |||
63 | /** | 63 | /** | ||
64 | * @brief Vitural validateCommand to filter commands from messages | 64 | * @brief Virtual validateCommand to filter commands from messages | ||
65 | * @param lastMessage: last Message from printer | 65 | * @param lastMessage: last Message from printer | ||
66 | */ | 66 | */ | ||
67 | virtual void validateCommand(const QString &lastMessage); | 67 | virtual void validateCommand(const QString &lastMessage); | ||
68 | 68 | | |||
69 | /** | 69 | /** | ||
70 | * @brief Virtual translate to be reimplemnted by Firmwareplugin | 70 | * @brief Virtual translate to be reimplemented by Firmwareplugin | ||
71 | * | 71 | * | ||
72 | * Translate common commands to firmware specific command. | 72 | * Translate common commands to firmware specific command. | ||
73 | * @param command: Command command to translate | 73 | * @param command: Command command to translate | ||
74 | * @return firmware specific translated command | 74 | * @return firmware specific translated command | ||
75 | */ | 75 | */ | ||
76 | virtual QByteArray translate(const QString &command); | 76 | virtual QByteArray translate(const QString &command); | ||
77 | 77 | | |||
78 | /** | 78 | /** | ||
Show All 21 Lines |