]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Account.h
Removed all modifications of Account active from outside Account
[lugaru.git] / Source / Account.h
index f68c52b484e1663437e4e8f0daf1ab32f7b81b73..8e435025e3d6f04b1bd88c7a5ab5d2771c953915 100644 (file)
@@ -43,11 +43,11 @@ struct CampaignProgress {
 class Account
 {
 public:
-    static void destroy(int i);
-    static Account* destroy(Account* a);
-    static Account* add(const std::string& name);
+    static void destroyActive();
+    static void setActive(int i);
+    static void add(const std::string& name);
     static Account* get(int i);
-    static Account* loadFile(std::string filename);
+    static void loadFile(std::string filename);
     static void saveFile(std::string filename);
     static int indice(Account* a);