summaryrefslogtreecommitdiff
path: root/src/search/Save.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-28 19:56:13 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-28 19:56:13 (GMT)
commit7c53ca7799832920066c23cfad2f1d7fa82233c7 (patch)
treea29fab25e584fb7f0d3705f13ac0a97abaae122a /src/search/Save.h
parent28d4aecb6c31ac1e450c1f073a0db13437d9d5d1 (diff)
downloadpowder-7c53ca7799832920066c23cfad2f1d7fa82233c7.zip
powder-7c53ca7799832920066c23cfad2f1d7fa82233c7.tar.gz
Voting, fix save browser
Diffstat (limited to 'src/search/Save.h')
-rw-r--r--src/search/Save.h7
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();