configure_system.h 711 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Copyright 2016 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <memory>
  6. #include <QWidget>
  7. namespace Ui {
  8. class ConfigureSystem;
  9. }
  10. class ConfigureSystem : public QWidget {
  11. Q_OBJECT
  12. public:
  13. explicit ConfigureSystem(QWidget* parent = nullptr);
  14. ~ConfigureSystem();
  15. void applyConfiguration();
  16. void setConfiguration();
  17. public slots:
  18. void updateBirthdayComboBox(int birthmonth_index);
  19. private:
  20. void ReadSystemSettings();
  21. std::unique_ptr<Ui::ConfigureSystem> ui;
  22. bool enabled;
  23. std::u16string username;
  24. int birthmonth, birthday;
  25. int language_index;
  26. int sound_index;
  27. };