summaryrefslogtreecommitdiff
path: root/src/client/Client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Client.h')
-rw-r--r--src/client/Client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/Client.h b/src/client/Client.h
index 0b40012..c824d28 100644
--- a/src/client/Client.h
+++ b/src/client/Client.h
@@ -17,6 +17,7 @@ class SaveInfo;
class SaveFile;
class SaveComment;
class GameSave;
+class VideoBuffer;
enum LoginStatus {
LoginOkay, LoginError
@@ -41,7 +42,7 @@ public:
UpdateInfo(int time, std::string file, BuildType type) : Major(0), Minor(0), Build(0), Time(time), File(file), Type(type) {}
};
-class ThumbnailListener;
+class RequestListener;
class ClientListener;
class Client: public Singleton<Client> {
private:
@@ -125,6 +126,8 @@ public:
RequestStatus AddComment(int saveID, std::string comment);
+ VideoBuffer * GetAvatar(std::string username);
+
unsigned char * GetSaveData(int saveID, int saveDate, int & dataLength);
std::vector<unsigned char> GetSaveData(int saveID, int saveDate);
LoginStatus Login(std::string username, std::string password, User & user);