mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
RegisteredHost Serialization
This commit is contained in:
parent
eeb28c7c8a
commit
459d5a40ff
2 changed files with 38 additions and 1 deletions
|
@ -23,6 +23,8 @@
|
|||
|
||||
#include <chiaki/regist.h>
|
||||
|
||||
class QSettings;
|
||||
|
||||
class HostMAC
|
||||
{
|
||||
private:
|
||||
|
@ -55,6 +57,9 @@ class RegisteredHost
|
|||
RegisteredHost(const ChiakiRegisteredHost &chiaki_host);
|
||||
|
||||
const QString &GetPS4Nickname() const { return ps4_nickname; }
|
||||
|
||||
void SaveToSettings(QSettings *settings);
|
||||
static RegisteredHost LoadFromSettings(QSettings *settings);
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(RegisteredHost)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue