forked from rileytestut/AltServer-Windows
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathAccount.hpp
More file actions
executable file
·48 lines (36 loc) · 932 Bytes
/
Account.hpp
File metadata and controls
executable file
·48 lines (36 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// Account.hpp
// AltSign-Windows
//
// Created by Riley Testut on 8/8/19.
// Copyright © 2019 Riley Testut. All rights reserved.
//
#ifndef Account_hpp
#define Account_hpp
/* The classes below are exported */
#pragma GCC visibility push(default)
#include <optional>
#include <cpprest/http_client.h>
#include <plist/plist.h>
class Account
{
public:
Account();
~Account();
Account(plist_t plist); /* throws */
std::string appleID() const;
std::string identifier() const;
std::string firstName() const;
std::string lastName() const;
std::string name() const;
std::string cookie() const;
friend std::ostream& operator<<(std::ostream& os, const Account& account);
private:
std::string _appleID;
std::string _identifier;
std::string _firstName;
std::string _lastName;
std::string _cookie;
};
#pragma GCC visibility pop
#endif /* Account_hpp */