Add support for printing gcode files in the Storage tab

This commit is contained in:
Lam Wei Lun
2026-10-05 18:22:29 +08:00
parent 3942ba7005
commit 0a8fce0913
6 changed files with 62 additions and 30 deletions
@@ -49,7 +49,6 @@ public:
int GetLastError() const override;
void DownloadCheckFiles(const std::string& path) override;
bool preserve_thumbnail_aspect() const override { return true; }
bool supports_print_action() const override { return false; }
// Delete `path` from the printer; `done` reports success on the UI thread.
void DeleteFile(const std::string& path, std::function<void(bool ok)> done);