diff options
Diffstat (limited to 'src/search/Save.h')
| -rw-r--r-- | src/search/Save.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/search/Save.h b/src/search/Save.h index 74097fd..00387ae 100644 --- a/src/search/Save.h +++ b/src/search/Save.h @@ -1,6 +1,7 @@ #ifndef SAVE_H #define SAVE_H +#include <vector> #include <string> #include <stdlib.h> #include <iostream> @@ -22,7 +23,7 @@ public: Save(int _id, int _date, int _votesUp, int _votesDown, string _userName, string _name); - Save(int _id, int date_, int _votesUp, int _votesDown, int _vote, 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_, vector<string> tags); ~Save(); @@ -31,6 +32,8 @@ public: string Description; + vector<string> tags; + int vote; bool Published; @@ -53,6 +56,9 @@ public: void SetVotesDown(int votesDown); int GetVotesDown(); + void SetTags(vector<string> tags); + vector<string> GetTags(); + unsigned char * GetData(); void SetData(unsigned char * data_, int dataLength); |
