You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
499 B

#ifndef CSCI_LOG_CONFIG_H
#define CSCI_LOG_CONFIG_H
#include <QSettings>
class LogConfig {
private:
QString _fileDir;
int _filesize;
int _validity;
private:
LogConfig();
public:
~LogConfig();
void load(QSettings* configs);
void setFileDir(const QString& dir);
void setFileSize(int filesize);
QString getFileDir() const;
int getFileSize() const;
int getValidity() const;
public:
static LogConfig* getIns();
};
#endif //CSCI_LOG_CONFIG_H