58 Star 461 Fork 110

GVPVNoteX/vnote

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
commandlineoptions.h 521 Bytes
一键复制 编辑 原始数据 按行查看 历史
tamlok 提交于 2025-10-27 23:07 +08:00 . introduce auto-formatting and init scripts (#2664)
#ifndef COMMANDLINEOPTIONS_H
#define COMMANDLINEOPTIONS_H
#include <QStringList>
class CommandLineOptions {
public:
enum ParseResult { Ok, Error, VersionRequested, HelpRequested };
CommandLineOptions() = default;
ParseResult parse(const QStringList &p_arguments);
QString m_errorMsg;
QString m_helpText;
QStringList m_pathsToOpen;
bool m_verbose = false;
bool m_logToStderr = false;
// Whether to watch theme folder for changes
bool m_watchThemes = false;
};
#endif // COMMANDLINEOPTIONS_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/vnotex/vnote.git
git@gitee.com:vnotex/vnote.git
vnotex
vnote
vnote
master

搜索帮助