equal
deleted
inserted
replaced
19 #include <string> |
19 #include <string> |
20 #include <istream> |
20 #include <istream> |
21 |
21 |
22 #include "INIContentHandler.h" |
22 #include "INIContentHandler.h" |
23 |
23 |
|
24 namespace relpipe { |
|
25 namespace in { |
|
26 namespace ini { |
|
27 namespace lib { |
|
28 |
24 /** |
29 /** |
25 * TODO: Files in the src/lib directory will be moved to alt2xml and used as a shared library. |
30 * TODO: Files in the src/lib directory will be moved to alt2xml and used as a shared library. |
26 */ |
31 */ |
27 class INIReader { |
32 class INIReader { |
28 public: |
33 public: |
29 virtual ~INIReader() = default; |
34 virtual ~INIReader() = default; |
30 virtual void addHandler(INIContentHandler* handler) = 0; |
35 virtual void addHandler(INIContentHandler* handler) = 0; |
31 virtual void process() = 0; |
36 virtual void process() = 0; |
32 static INIReader* create(std::istream& input); |
37 static INIReader* create(std::istream& input); |
33 }; |
38 }; |
|
39 |
|
40 } |
|
41 } |
|
42 } |
|
43 } |