AccountLoader.hpp
Go to the documentation of this file.
1 // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
2 
3 // We are making my contributions/submissions to this project solely in our
4 // personal capacity and are not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef ROSETTASTONE_ACCOUNT_LOADER_HPP
8 #define ROSETTASTONE_ACCOUNT_LOADER_HPP
9 
11 
12 #include <json/json.hpp>
13 
14 namespace RosettaStone
15 {
22 {
23  public:
27  AccountInfo* Load(std::string email) const;
28 
31  void Save(AccountInfo* account) const;
32 };
33 } // namespace RosettaStone
34 
35 #endif // ROSETTASTONE_ACCOUNT_LOADER_HPP
AccountLoader class.
Definition: AccountLoader.hpp:21
void Save(AccountInfo *account) const
Definition: AccountInfo.hpp:14
AccountInfo * Load(std::string email) const
AccountInfo class.
Definition: AccountInfo.hpp:23