mirror-chatterino2/src/common/Args.hpp

21 lines
314 B
C++
Raw Normal View History

#pragma once
2019-10-07 18:57:33 +02:00
#include <QStringList>
namespace chatterino {
/// Command line arguments passed to Chatterino.
class Args
{
public:
Args(const QStringList &args);
2019-10-07 18:57:33 +02:00
bool printVersion{};
bool crashRecovery{};
};
void initArgs(const QStringList &args);
const Args &getArgs();
} // namespace chatterino