20#ifndef ORES_QT_ORE_IMPORT_CONTROLLER_HPP
21#define ORES_QT_ORE_IMPORT_CONTROLLER_HPP
27#include <boost/uuid/uuid.hpp>
28#include "ores.logging/make_logger.hpp"
29#include "ores.qt/ClientManager.hpp"
46 inline static std::string_view logger_name =
"ores.qt.ore_import_controller";
48 [[nodiscard]]
static auto& lg() {
50 static auto instance = make_logger(logger_name);
56 QObject* parent =
nullptr);
67 void trigger(QWidget* parent =
nullptr,
68 std::optional<boost::uuids::uuid> bookId = std::nullopt,
69 const std::string& bookName =
"");
93 std::string http_base_url_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
Manages the lifecycle of the NATS client and login state.
Definition ClientManager.hpp:123
Controller that owns and launches the OreImportWizard.
Definition OreImportController.hpp:42
void trigger(QWidget *parent=nullptr, std::optional< boost::uuids::uuid > bookId=std::nullopt, const std::string &bookName="")
Show the ORE import wizard modal dialog.
Definition OreImportController.cpp:36
void statusMessage(const QString &message)
Emitted with a human-readable summary after import.
void setHttpBaseUrl(const std::string &url)
Set the HTTP base URL for storage uploads.
Definition OreImportController.hpp:76
void importCompleted()
Emitted when an import completes successfully.