summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-11-22 21:00:04 -0500
committerGravatar Zach Hilman2018-12-03 17:26:26 -0500
commit58fd0a1c50912f28457eae974dfe928463ceb0c2 (patch)
tree60b676b14a42195010f6125e09205556ffee873a /src/core/core.h
parentfrontend: Add frontend applet for ProfileSelect (diff)
downloadyuzu-58fd0a1c50912f28457eae974dfe928463ceb0c2.tar.gz
yuzu-58fd0a1c50912f28457eae974dfe928463ceb0c2.tar.xz
yuzu-58fd0a1c50912f28457eae974dfe928463ceb0c2.zip
core: Add getter/setter for ProfileSelector in System
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index be71bd437..21dea051b 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -10,6 +10,7 @@
10 10
11#include "common/common_types.h" 11#include "common/common_types.h"
12#include "core/hle/kernel/object.h" 12#include "core/hle/kernel/object.h"
13#include "frontend/applets/profile_select.h"
13 14
14namespace Core::Frontend { 15namespace Core::Frontend {
15class EmuWindow; 16class EmuWindow;
@@ -237,6 +238,10 @@ public:
237 238
238 std::shared_ptr<FileSys::VfsFilesystem> GetFilesystem() const; 239 std::shared_ptr<FileSys::VfsFilesystem> GetFilesystem() const;
239 240
241 void SetProfileSelector(std::unique_ptr<Core::Frontend::ProfileSelectApplet> applet);
242
243 const Core::Frontend::ProfileSelectApplet& GetProfileSelector() const;
244
240 void SetSoftwareKeyboard(std::unique_ptr<Core::Frontend::SoftwareKeyboardApplet> applet); 245 void SetSoftwareKeyboard(std::unique_ptr<Core::Frontend::SoftwareKeyboardApplet> applet);
241 246
242 const Core::Frontend::SoftwareKeyboardApplet& GetSoftwareKeyboard() const; 247 const Core::Frontend::SoftwareKeyboardApplet& GetSoftwareKeyboard() const;