diff options
Diffstat (limited to 'src/search/Save.h')
| -rw-r--r-- | src/search/Save.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/search/Save.h b/src/search/Save.h index 42cbb62..5c471e1 100644 --- a/src/search/Save.h +++ b/src/search/Save.h @@ -21,7 +21,7 @@ public: Save(int _id, int _date, int _votesUp, int _votesDown, string _userName, string _name); - Save(int _id, int date_, int _votesUp, int _votesDown, string _userName, string _name, string description_, bool published_); + Save(int _id, int date_, int _votesUp, int _votesDown, int _vote, string _userName, string _name, string description_, bool published_); ~Save(); @@ -30,6 +30,8 @@ public: string Description; + int vote; + bool Published; void SetName(string name); @@ -41,6 +43,9 @@ public: void SetID(int id); int GetID(); + void SetVote(int vote); + int GetVote(); + void SetVotesUp(int votesUp); int GetVotesUp(); |
