1 #ifndef _MP3BLASTER_HISTORY_H
2 #define _MP3BLASTER_HISTORY_H
3 
4 #ifdef HAVE_CONFIG_H
5 #include <config.h>
6 #endif
7 
8 #include <vector>
9 
10 class History
11 {
12 public:
13 	History();
14 	~History();
15 
16 	short add(const char*);
17 	short atEnd();
18 	short atStart();
19 	void previous();
20 	void next();
21 	const char *element();
22 
23 private:
24 	std::vector<char *> v;
25 	unsigned int curpos;
26 	std::vector<char *>::iterator it;
27 };
28 
29 #endif /* _MP3BLASTER_HISTORY_H */
30