Changeset View
Changeset View
Standalone View
Standalone View
src/core/atcore.h
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Line(s) | 113 | enum UNITS { | |||
---|---|---|---|---|---|
115 | IMPERIAL //!< Imperial Units (Feet) | 115 | IMPERIAL //!< Imperial Units (Feet) | ||
116 | }; | 116 | }; | ||
117 | Q_ENUM(UNITS) | 117 | Q_ENUM(UNITS) | ||
118 | /** | 118 | /** | ||
119 | * @brief AtCore create a new instance of AtCore | 119 | * @brief AtCore create a new instance of AtCore | ||
120 | * @param parent: parent of the object | 120 | * @param parent: parent of the object | ||
121 | */ | 121 | */ | ||
122 | explicit AtCore(QObject *parent = nullptr); | 122 | explicit AtCore(QObject *parent = nullptr); | ||
123 | ~AtCore() = default; | ||||
123 | 124 | | |||
124 | /** | 125 | /** | ||
125 | * @brief version | 126 | * @brief version | ||
126 | * @return Version number | 127 | * @return Version number | ||
127 | */ | 128 | */ | ||
128 | QString version() const; | 129 | QString version() const; | ||
129 | 130 | | |||
130 | /** | 131 | /** | ||
▲ Show 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | |||||
181 | */ | 182 | */ | ||
182 | Q_INVOKABLE void loadFirmwarePlugin(const QString &fwName); | 183 | Q_INVOKABLE void loadFirmwarePlugin(const QString &fwName); | ||
183 | 184 | | |||
184 | /** | 185 | /** | ||
185 | * @brief Get Printer state | 186 | * @brief Get Printer state | ||
186 | * @return State of the printer | 187 | * @return State of the printer | ||
187 | * @sa setState(),stateChanged(),AtCore::STATES | 188 | * @sa setState(),stateChanged(),AtCore::STATES | ||
188 | */ | 189 | */ | ||
189 | AtCore::STATES state(void); | 190 | AtCore::STATES state(); | ||
190 | 191 | | |||
191 | /** | 192 | /** | ||
192 | * @brief extruderCount | 193 | * @brief extruderCount | ||
193 | * @return The number of detected Extruders Default is 1 | 194 | * @return The number of detected Extruders Default is 1 | ||
194 | * @sa setExtruderCount(int newCount), extruderCountChanged(int newCount) | 195 | * @sa setExtruderCount(int newCount), extruderCountChanged(int newCount) | ||
195 | */ | 196 | */ | ||
196 | int extruderCount() const; | 197 | int extruderCount() const; | ||
197 | 198 | | |||
▲ Show 20 Lines • Show All 399 Lines • Show Last 20 Lines |