summaryrefslogtreecommitdiff
path: root/include/queueloader.h
blob: eedcec6d1e5f2a617c02bd49f8fd820bd1d639b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef PODBEUTER_QUEUELOADER__H
#define PODBEUTER_QUEUELOADER__H

#include <vector>
#include <download.h>
#include <pb_controller.h>

namespace podbeuter {

	class queueloader {
		public:
			queueloader(const std::string& file, pb_controller * c = 0);
			void reload(std::vector<download>& downloads, bool remove_unplayed = false);
		private:
			std::string get_filename(const std::string& str);
			std::string queuefile;
			pb_controller * ctrl;
	};

}

#endif