summaryrefslogtreecommitdiff
path: root/src/search/Save.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/Save.h')
-rw-r--r--src/search/Save.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/src/search/Save.h b/src/search/Save.h
deleted file mode 100644
index 0b213e2..0000000
--- a/src/search/Save.h
+++ /dev/null
@@ -1,69 +0,0 @@
-#ifndef SAVE_H
-#define SAVE_H
-
-#include <vector>
-#include <string>
-#include <stdlib.h>
-#include <iostream>
-#include <string.h>
-
-using namespace std;
-
-class Save
-{
-private:
-public:
- int id;
- int date;
- int votesUp, votesDown;
- unsigned char * data;
- int dataLength;
- bool Favourite;
-
- Save(Save & save);
-
- 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_, vector<string> tags);
-
- ~Save();
-
- string userName;
- string name;
-
- string Description;
-
- vector<string> tags;
-
- int vote;
-
- bool Published;
-
- void SetName(string name);
- string GetName();
-
- void SetUserName(string userName);
- string GetUserName();
-
- void SetID(int id);
- int GetID();
-
- void SetVote(int vote);
- int GetVote();
-
- void SetVotesUp(int votesUp);
- int GetVotesUp();
-
- void SetVotesDown(int votesDown);
- int GetVotesDown();
-
- void SetTags(vector<string> tags);
- vector<string> GetTags();
-
- unsigned char * GetData();
- void SetData(unsigned char * data_, int dataLength);
-
- int GetDataLength();
-};
-
-#endif // SAVE_H