-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfiguration.h
47 lines (34 loc) · 1.16 KB
/
configuration.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#include <string>
#include "fsizeenum.h"
class Configuration
{
private:
int mPort;
std::string mDir;
bool mIsIconColumnVisible;
bool mIsFileSizeColumnVisible;
bool mIsFileDownloadingEnabled;
FSizeEnum mFsizeDisplayingMode;
bool mIsDetailedInfoColumnVisible;
public:
Configuration();
int port() const;
void setPort(int port);
std::string dir() const;
void setDir(const std::string &dir);
bool isFileDownloadingEnabled() const;
void setIsFileDownloadingEnabled(bool isFileDownloadingEnabled);
FSizeEnum fsizeDisplayingMode() const;
void setFsizeDisplayingMode(const FSizeEnum &fsizeDisplayingMode);
bool isIconColumnVisibility() const;
void setIsIconColumnVisibility(bool isIconColumnVisibility);
bool isIconColumnVisible() const;
void setIsIconColumnVisible(bool isIconColumnVisible);
bool isFileSizeColumnVisible() const;
void setIsFileSizeColumnVisible(bool isFileSizeColumnVisible);
bool isDetailedInfoColumnVisible() const;
void setIsDetailedInfoColumnVisible(bool isDetailedInfoColumnVisible);
};
#endif // CONFIGURATION_H