CrealityPrint: add custom send dialog boilerplate

Add CrealityPrintHostSendDialog scaffolding: an empty dialog class
that inherits from PrintHostSendDialog, and Plater wiring to use
it when the host type is CrealityPrint.

Signed-off-by: Igor Mammedov <niallain@gmail.com>
This commit is contained in:
Igor Mammedov
2026-04-23 00:48:11 +02:00
parent 20b00b25c6
commit 7dd2e5c6a5
3 changed files with 45 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
#include "NotificationManager.hpp"
#include "ExtraRenderers.hpp"
#include "format.hpp"
#include "../Utils/CrealityPrint.hpp"
namespace fs = boost::filesystem;
@@ -952,4 +953,25 @@ void ElegooPrintHostSendDialog::refresh()
this->Fit();
}
CrealityPrintHostSendDialog::CrealityPrintHostSendDialog(const fs::path& path,
PrintHostPostUploadActions post_actions,
const wxArrayString& groups,
const wxArrayString& storage_paths,
const wxArrayString& storage_names,
bool switch_to_device_tab,
PrintHost* printhost)
: PrintHostSendDialog(path, post_actions, groups, storage_paths, storage_names, switch_to_device_tab)
, m_printhost(printhost)
{}
void CrealityPrintHostSendDialog::init()
{
PrintHostSendDialog::init();
}
std::map<std::string, std::string> CrealityPrintHostSendDialog::extendedInfo() const
{
return {};
}
}}