mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Clean-up of the "Upload to" code (AstroBox, Duet, FlashAir, OctoPrint)
This commit is contained in:
parent
b08a315a46
commit
791f487c76
8 changed files with 48 additions and 179 deletions
|
@ -30,8 +30,6 @@ FlashAir::FlashAir(DynamicPrintConfig *config) :
|
|||
host(config->opt_string("print_host"))
|
||||
{}
|
||||
|
||||
FlashAir::~FlashAir() {}
|
||||
|
||||
const char* FlashAir::get_name() const { return "FlashAir"; }
|
||||
|
||||
bool FlashAir::test(wxString &msg) const
|
||||
|
@ -150,21 +148,6 @@ bool FlashAir::upload(PrintHostUpload upload_data, ProgressFn prorgess_fn, Error
|
|||
return res;
|
||||
}
|
||||
|
||||
bool FlashAir::has_auto_discovery() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FlashAir::can_test() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool FlashAir::can_start_print() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string FlashAir::timestamp_str() const
|
||||
{
|
||||
auto t = std::time(nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue