diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-21 21:49:06 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-21 21:49:06 (GMT) |
| commit | 81a34222d1797f112a65c30f9ef7db07562ffdf1 (patch) | |
| tree | 4a7500b25f58cf13a4744ea75ae855c0495d5613 /src/profile/ProfileActivity.h | |
| parent | b4564f212a17539604e9fa63d649e157f8888eb1 (diff) | |
| download | powder-81a34222d1797f112a65c30f9ef7db07562ffdf1.zip powder-81a34222d1797f112a65c30f9ef7db07562ffdf1.tar.gz | |
POST requests for APIRequest, allow saving user details from within the game, Asynchronous HTTP POST
Diffstat (limited to 'src/profile/ProfileActivity.h')
| -rw-r--r-- | src/profile/ProfileActivity.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/profile/ProfileActivity.h b/src/profile/ProfileActivity.h index a4648e9..9691dff 100644 --- a/src/profile/ProfileActivity.h +++ b/src/profile/ProfileActivity.h @@ -4,9 +4,17 @@ #include <string> #include "Activity.h" #include "client/requestbroker/RequestListener.h" +#include "client/UserInfo.h" #include "interface/Window.h" class ProfileActivity: public WindowActivity, public RequestListener { + ui::Component * location; + ui::Component * bio; + UserInfo info; + bool editable; + bool loading; + bool saving; + void setUserInfo(UserInfo newInfo); public: ProfileActivity(std::string username); virtual ~ProfileActivity(); |
