2021-08-15 16:47:44 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
2025-07-08 17:42:18 +01:00
|
|
|
#include "common/tile_map/map.h"
|
|
|
|
|
#include "dll_export.h"
|
2025-06-22 17:18:53 +02:00
|
|
|
#include "explorer/explorer.h"
|
2025-07-08 17:42:18 +01:00
|
|
|
#include "libs/ctpl/ctpl_stl.h"
|
2022-05-07 18:16:24 +02:00
|
|
|
#include "recorder/recorder.h"
|
2025-07-08 17:42:18 +01:00
|
|
|
#include <string>
|
2021-08-15 16:47:44 +02:00
|
|
|
|
2022-03-10 19:56:37 +01:00
|
|
|
namespace satdump
|
|
|
|
|
{
|
2024-05-18 19:22:33 +02:00
|
|
|
SATDUMP_DLL2 extern bool update_ui;
|
|
|
|
|
SATDUMP_DLL2 extern ctpl::thread_pool ui_thread_pool;
|
2022-03-10 19:56:37 +01:00
|
|
|
|
2025-06-22 17:18:53 +02:00
|
|
|
SATDUMP_DLL2 extern std::shared_ptr<explorer::ExplorerApplication> explorer_app;
|
2022-05-07 18:16:24 +02:00
|
|
|
|
2024-01-21 17:30:00 -05:00
|
|
|
void initMainUI();
|
2022-05-08 16:35:54 +02:00
|
|
|
void exitMainUI();
|
2023-12-31 16:49:23 -05:00
|
|
|
void renderMainUI();
|
2025-07-14 21:21:55 +02:00
|
|
|
|
|
|
|
|
// TODOREWORK move into another namespace?
|
|
|
|
|
struct SetIsProcessingEvent
|
|
|
|
|
{
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct SetIsDoneProcessingEvent
|
|
|
|
|
{
|
|
|
|
|
};
|
2025-12-08 17:50:52 +01:00
|
|
|
|
|
|
|
|
struct ShowProcesingEvent
|
|
|
|
|
{
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct AddRecorderEvent // TODOREWORK Temporary!?
|
|
|
|
|
{
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct TryOpenFileInMainExplorerEvent
|
|
|
|
|
{
|
|
|
|
|
std::string path;
|
|
|
|
|
};
|
2025-07-08 17:42:18 +01:00
|
|
|
} // namespace satdump
|