summaryrefslogtreecommitdiff
path: root/src/preview/Comment.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-02-11 16:08:59 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-02-11 16:08:59 (GMT)
commit9f7b06ff47e12076a261b6a209b27c558741eb8a (patch)
treed0b4c8f53d976b1e2c1d771da47d7a9e4517db4d /src/preview/Comment.h
parent54741c79ef6169eda47745ea4f13e4e1d9982497 (diff)
downloadpowder-9f7b06ff47e12076a261b6a209b27c558741eb8a.zip
powder-9f7b06ff47e12076a261b6a209b27c558741eb8a.tar.gz
Comments on save preview and some minor changes for vote bars
Diffstat (limited to 'src/preview/Comment.h')
-rw-r--r--src/preview/Comment.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/preview/Comment.h b/src/preview/Comment.h
new file mode 100644
index 0000000..a53f6cd
--- /dev/null
+++ b/src/preview/Comment.h
@@ -0,0 +1,24 @@
+/*
+ * Comment.h
+ *
+ * Created on: Feb 11, 2012
+ * Author: Simon
+ */
+
+#ifndef COMMENT_H_
+#define COMMENT_H_
+
+class Comment
+{
+public:
+ int authorID;
+ std::string authorName;
+ std::string comment;
+ Comment(int userID, std::string username, std::string commentText):
+ authorID(userID), authorName(username), comment(commentText)
+ {
+ }
+};
+
+
+#endif /* COMMENT_H_ */