-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathrp_settings_impl.hpp
More file actions
47 lines (33 loc) · 1.17 KB
/
rp_settings_impl.hpp
File metadata and controls
47 lines (33 loc) · 1.17 KB
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
#pragma once
#include "reporter/api/rp_settings.hpp"
//------------------------------------------------------------------------------
namespace reporter
{
//------------------------------------------------------------------------------
class SettingsImpl final : public Settings
{
public:
SettingsImpl();
CountType getMaxFilesCount() const override;
void setMaxFilesCount( CountType _count ) override;
CountType getMaxDetailsCount() const override;
void setMaxDetailsCount( CountType _count ) override;
bool getShowStdFiles() const override;
void setShowStdFiles( bool _enable ) override;
bool getShowOnlyStdHeaders() const override;
void setShowOnlyStdHeaders( bool _enable ) override;
bool getShowDetails() const override;
void setShowDetails( bool _enable ) override;
char getThousandsSeparator() const override;
void setThousandsSeparator( char _separator ) override;
void copy( const Settings & _other ) override;
private:
CountType m_maxFilesCount;
CountType m_maxDetailsCount;
char m_thousandsSeparator;
bool m_showStdFiles;
bool m_showOnlyStdHeaders;
bool m_showDetails;
};
//------------------------------------------------------------------------------
}