20#ifndef ORES_QT_COMMAND_LINE_PARSER_HPP
21#define ORES_QT_COMMAND_LINE_PARSER_HPP
25#include <QCoreApplication>
26#include <QCommandLineParser>
27#include "ores.utility/log/logging_options.hpp"
49 void process(
const QCoreApplication& app);
58 [[nodiscard]] std::optional<utility::log::logging_options>
loggingOptions()
const;
85 QCommandLineParser parser_;
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:35
Encapsulates Qt command line parsing for the application.
Definition CommandLineParser.hpp:37
bool isCompressionEnabled() const
Check if compression is enabled.
Definition CommandLineParser.cpp:127
void process(const QCoreApplication &app)
Process command line arguments.
Definition CommandLineParser.cpp:89
bool isLoggingEnabled() const
Check if logging is enabled.
Definition CommandLineParser.cpp:93
CommandLineParser()
Construct the parser and configure all options.
Definition CommandLineParser.cpp:28
std::optional< utility::log::logging_options > loggingOptions() const
Get logging configuration based on parsed options.
Definition CommandLineParser.cpp:97
std::uint8_t supportedCompression() const
Get the supported compression bitmask based on parsed options.
Definition CommandLineParser.cpp:131