mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-18 09:53:05 +08:00
21 lines
402 B
C++
21 lines
402 B
C++
#include "render.h"
|
|
|
|
#include <memory>
|
|
|
|
#include "application/gui_application.h"
|
|
|
|
namespace crossdesk {
|
|
|
|
Render::Render() : application_(std::make_unique<GuiApplication>()) {}
|
|
|
|
Render::~Render() = default;
|
|
|
|
int Render::Run() { return application_->Run(); }
|
|
#ifdef _WIN32
|
|
int Render::RunUnattended(void* stop_event) {
|
|
return application_->RunUnattended(stop_event);
|
|
}
|
|
#endif
|
|
|
|
} // namespace crossdesk
|