added class containing program arguments
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user