2021-04-11 21:33:08 +08:00
|
|
|
#ifndef SYSTEMCONSTS_H
|
|
|
|
#define SYSTEMCONSTS_H
|
|
|
|
|
|
|
|
#include <QStringList>
|
|
|
|
|
2021-04-13 22:17:18 +08:00
|
|
|
#define APP_SETTSINGS_FILENAME "redpandacpp.ini"
|
|
|
|
|
2021-04-11 21:33:08 +08:00
|
|
|
class SystemConsts
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SystemConsts();
|
|
|
|
const QStringList& defaultFileFilters() const noexcept;
|
|
|
|
const QString& defaultFileFilter() const noexcept;
|
|
|
|
void addDefaultFileFilter(const QString& name, const QString& fileExtensions);
|
|
|
|
private:
|
|
|
|
QStringList mDefaultFileFilters;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern SystemConsts* pSystemConsts;
|
|
|
|
#endif // SYSTEMCONSTS_H
|