summaryrefslogtreecommitdiff
path: root/src/settings.h
blob: 319bcb12c3f97f8eb267e61f01a94bb5201e6e2c (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
#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;
	}
	
private:	
	QString 	m_homePath;
	QColor 		m_colorInvalidValue;
	QColor 		m_colorInputError;
};

const Settings & globalSettings();

#endif // __INCLUDED_SUDOKUSOLVER_SETTINGS__