summaryrefslogtreecommitdiff
path: root/src/search/Save.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-03-22 13:50:43 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-03-22 13:50:43 (GMT)
commit23873eae719a1c0a1227a4e108a158a9ec625462 (patch)
treed397224fa7a0d01de2f18d2449c3b5d4fcaa6638 /src/search/Save.h
parent7e3d45bbfb701a5eca3e93b589680d8651ada016 (diff)
downloadpowder-23873eae719a1c0a1227a4e108a158a9ec625462.zip
powder-23873eae719a1c0a1227a4e108a158a9ec625462.tar.gz
More work on Tags - display tags in Tag window and Tag button
Diffstat (limited to 'src/search/Save.h')
-rw-r--r--src/search/Save.h8
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);