RedPanda-CPP/RedPandaIDE/systemconsts.h

21 lines
479 B
C
Raw Normal View History

2021-04-11 21:33:08 +08:00
#ifndef SYSTEMCONSTS_H
#define SYSTEMCONSTS_H
#include <QStringList>
#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