summaryrefslogtreecommitdiff
path: root/src/preview/Comment.h
blob: a53f6cd1fc61e330a6dded2a7fd2d66aa01dc155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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_ */