diff options
Diffstat (limited to 'src/preview/Comment.h')
| -rw-r--r-- | src/preview/Comment.h | 24 |
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_ */ |
