ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
gui.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 Povl Filip Sonne-Frederiksen
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
#pragma once
6
#include "
global-params.hpp
"
7
#include "
gui/Server.hpp
"
8
9
#include <CLI/CLI.hpp>
10
#include <memory>
11
17
struct
SubcommandGuiOptions
{
18
rux::gui::ServerOptions
server
;
21
bool
no_browser
=
false
;
22
};
23
24
void
setup_subcommand_gui
(CLI::App &app,
25
std::shared_ptr<RuxOptions> global_opt);
26
27
int
run_subcommand_gui
(
SubcommandGuiOptions
const
&opt,
28
const
RuxOptions
&global_opt);
Server.hpp
global-params.hpp
run_subcommand_gui
int run_subcommand_gui(SubcommandGuiOptions const &opt, const RuxOptions &global_opt)
setup_subcommand_gui
void setup_subcommand_gui(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
RuxOptions
Definition
global-params.hpp:44
SubcommandGuiOptions
Options for the rux gui subcommand.
Definition
gui.hpp:17
SubcommandGuiOptions::no_browser
bool no_browser
The flag is negative (--no-browser) while the option it controls is positive (open_browser),...
Definition
gui.hpp:21
SubcommandGuiOptions::server
rux::gui::ServerOptions server
Definition
gui.hpp:18
rux::gui::ServerOptions
Everything rux gui needs to stand a server up.
Definition
Server.hpp:26
apps
rux
include
gui.hpp
Generated by
1.17.0