summaryrefslogtreecommitdiff
path: root/src/settings.h
blob: 18c4437812085b2cebdd86dd48405bd6010597e9 (plain)
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
#ifndef __INCLUDED_SUDOKUSOLVER_SETTINGS__
#define __INCLUDED_SUDOKUSOLVER_SETTINGS__

#include <QtGui>

class Settings {
public:
	Settings();

	inline const QString & homePath() const
	{
		return m_homePath;
	}
	
	inline const QColor & colorInvalidValue() const
	{
		return m_colorInvalidValue;
	}
	
	inline const QColor & colorInputError() const
	{
		return m_colorInputError;
	}
	
	inline const QColor & colorSolved() const
	{
		return m_colorSolved;
	}
	
	inline const QColor & colorHintUnique() const
	{
		return m_colorHintUnique;
	}
	
private:	
	QString 	m_homePath;
	QColor 		m_colorInvalidValue;
	QColor 		m_colorInputError;
	QColor		m_colorSolved;
	QColor		m_colorHintUnique;
};

const Settings & globalSettings();

#endif // __INCLUDED_SUDOKUSOLVER_SETTINGS__