summaryrefslogtreecommitdiff
path: root/src/client/User.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-25 17:21:55 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-25 17:21:55 (GMT)
commit8b80942b16fd6292884fb3208bc52c29a25cfff8 (patch)
treefebd0a9004932d602f5de0be3ebf358a8611e1f2 /src/client/User.h
parent3505bcc275dc2e276386e51b1dc13325d4eefa07 (diff)
downloadpowder-8b80942b16fd6292884fb3208bc52c29a25cfff8.zip
powder-8b80942b16fd6292884fb3208bc52c29a25cfff8.tar.gz
Login working, segfaults sometimes
Diffstat (limited to 'src/client/User.h')
-rw-r--r--src/client/User.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/client/User.h b/src/client/User.h
new file mode 100644
index 0000000..9dd231c
--- /dev/null
+++ b/src/client/User.h
@@ -0,0 +1,29 @@
+/*
+ * User.h
+ *
+ * Created on: Jan 25, 2012
+ * Author: Simon
+ */
+
+#ifndef USER_H_
+#define USER_H_
+
+#include <string>
+
+class User
+{
+public:
+ int ID;
+ std::string Username;
+ std::string SessionID;
+ std::string SessionKey;
+ User(int id, std::string username):
+ ID(id),
+ Username(username)
+ {
+
+ }
+};
+
+
+#endif /* USER_H_ */