19 lines
429 B
C
19 lines
429 B
C
|
#ifndef SYSTEMCONSTS_H
|
||
|
#define SYSTEMCONSTS_H
|
||
|
|
||
|
#include <QStringList>
|
||
|
|
||
|
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
|