Numworks Epsilon  1.4.1
Graphing Calculator Operating System
global_preferences.h
Go to the documentation of this file.
1 #ifndef APPS_GLOBAL_PREFERENCES_H
2 #define APPS_GLOBAL_PREFERENCES_H
3 
4 #include "i18n.h"
5 
7 public:
8  enum class ExamMode {
9  Activate,
11  };
14  I18n::Language language() const;
15  void setLanguage(I18n::Language language);
16  ExamMode examMode() const;
18  bool showUpdatePopUp() const;
20  int brightnessLevel() const;
22  constexpr static int NumberOfBrightnessStates = 5;
23 private:
24  I18n::Language m_language;
25  ExamMode m_examMode;
26  bool m_showUpdatePopUp;
27  int m_brightnessLevel;
28 };
29 
30 #endif
void setExamMode(ExamMode examMode)
bool showUpdatePopUp() const
void setShowUpdatePopUp(bool showUpdatePopUp)
void setLanguage(I18n::Language language)
void setBrightnessLevel(int brightnessLevel)
I18n::Language language() const
ExamMode examMode() const
static constexpr int NumberOfBrightnessStates
static GlobalPreferences * sharedGlobalPreferences()