summaryrefslogtreecommitdiff
path: root/include/queueloader.h
blob: dd2f75fc2a8beff021fe04fb0cba414a0a2c7073 (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