diff options
Diffstat (limited to 'src/preview/Comment.h')
| -rw-r--r-- | src/preview/Comment.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/preview/Comment.h b/src/preview/Comment.h deleted file mode 100644 index 1d84042..0000000 --- a/src/preview/Comment.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef COMMENT_H_ -#define COMMENT_H_ - -#include <string> - -class SaveComment -{ -public: - int authorID; - std::string authorName; - std::string authorNameFormatted; - std::string comment; - SaveComment(int userID, std::string username, std::string usernameFormatted, std::string commentText): - authorID(userID), authorName(username), authorNameFormatted(usernameFormatted), comment(commentText) - { - } - SaveComment(const SaveComment & comment): - authorID(comment.authorID), authorName(comment.authorName), authorNameFormatted(comment.authorNameFormatted), comment(comment.comment) - { - } - SaveComment(const SaveComment * comment): - authorID(comment->authorID), authorName(comment->authorName), authorNameFormatted(comment->authorNameFormatted), comment(comment->comment) - { - } -}; - - -#endif /* COMMENT_H_ */ |
