added class containing program arguments

This commit is contained in:
fourtf
2019-09-22 15:30:04 +02:00
parent 456065f508
commit 7e555843ca
5 changed files with 51 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
namespace chatterino {
/// Command line arguments passed to Chatterino.
class Args
{
public:
Args(const QStringList &args);
bool crashRecovery{};
};
void initArgs(const QStringList &args);
const Args &getArgs();
} // namespace chatterino