summaryrefslogtreecommitdiff
path: root/src/client/UserInfo.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-03-16 17:45:18 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-03-16 17:45:18 (GMT)
commitf05044ab68e51ce9c374f6af09284051efcda449 (patch)
tree6ae35ed5f6f3395593fc0d2c90780d8162f302e7 /src/client/UserInfo.h
parentd383d6d7e5e1d3ca0856c02ebbcea5e9b8b2ff4e (diff)
downloadpowder-f05044ab68e51ce9c374f6af09284051efcda449.zip
powder-f05044ab68e51ce9c374f6af09284051efcda449.tar.gz
APIRequest, Aync methods for client, Profile edit/viewer (WIP)
Diffstat (limited to 'src/client/UserInfo.h')
-rw-r--r--src/client/UserInfo.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/client/UserInfo.h b/src/client/UserInfo.h
new file mode 100644
index 0000000..edd6659
--- /dev/null
+++ b/src/client/UserInfo.h
@@ -0,0 +1,22 @@
+#ifndef USERINFO_H_
+#define USERINFO_H_
+
+#include <string>
+
+class UserInfo
+{
+public:
+ int ID;
+ int Age;
+ std::string Username;
+ std::string Biography;
+ UserInfo(int id, int age, std::string username, std::string biography):
+ ID(id),
+ Age(age),
+ Username(username),
+ Biography(biography)
+ { }
+};
+
+
+#endif /* USER_H_ */