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

#include <vector>
#include <string>

namespace noos {

	class configreader {
		public:
			configreader(const std::string& file = "");
			~configreader();
			void load_config(const std::string& file);
			void write_config();
			std::vector<std::string>& get_urls();
			void reload();
		private:
			std::vector<std::string> urls;
			std::string filename;
	};

}


#endif