diff options
author | Zach Hilman <[email protected]> | 2018-10-10 21:49:20 -0400 |
---|---|---|
committer | Zach Hilman <[email protected]> | 2018-10-23 19:31:28 -0400 |
commit | 702622b8f1eaa1b297a27a305ac56faeadf542d7 (patch) | |
tree | 8bd4dd63015771d124b5b599240b06d08bfe203f /src/yuzu/configuration/configure_system.h | |
parent | 19c5cf9c637d7fb685ca6977fb7cbf06e075cedf (diff) | |
download | yuzu-android-702622b8f1eaa1b297a27a305ac56faeadf542d7.tar.gz yuzu-android-702622b8f1eaa1b297a27a305ac56faeadf542d7.zip |
profile_manager: Load user icons, names, and UUIDs from system save
Diffstat (limited to 'src/yuzu/configuration/configure_system.h')
-rw-r--r-- | src/yuzu/configuration/configure_system.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/yuzu/configuration/configure_system.h b/src/yuzu/configuration/configure_system.h index aa20a3c30..868bb8bdf 100644 --- a/src/yuzu/configuration/configure_system.h +++ b/src/yuzu/configuration/configure_system.h @@ -5,12 +5,16 @@ #pragma once #include <memory> -#include <QGraphicsScene> + #include <QList> -#include <QStandardItemModel> -#include <QTreeView> -#include <QVBoxLayout> #include <QWidget> +#include "core/hle/service/acc/profile_manager.h" + +class QVBoxLayout; +class QTreeView; +class QStandardItemModel; +class QGraphicsScene; +class QStandardItem; namespace Ui { class ConfigureSystem; @@ -26,6 +30,7 @@ public: void applyConfiguration(); void setConfiguration(); + void PopulateUserList(); void UpdateCurrentUser(); public slots: @@ -36,9 +41,11 @@ public slots: void AddUser(); void RenameUser(); void DeleteUser(); + void SetUserImage(); private: void ReadSystemSettings(); + std::string GetAccountUsername(Service::Account::UUID uuid); QVBoxLayout* layout; QTreeView* tree_view; @@ -50,8 +57,9 @@ private: std::unique_ptr<Ui::ConfigureSystem> ui; bool enabled; - std::u16string username; int birthmonth, birthday; int language_index; int sound_index; + + std::unique_ptr<Service::Account::ProfileManager> profile_manager; }; |