src/lib/Dialect.h
branchv_0
changeset 33 3b81fbeb5f3b
parent 28 596a724fbb83
equal deleted inserted replaced
32:193c643f4ffe 33:3b81fbeb5f3b
    16  */
    16  */
    17 #pragma once
    17 #pragma once
    18 
    18 
    19 #include "INIReader.h"
    19 #include "INIReader.h"
    20 
    20 
    21 using namespace std;
       
    22 
       
    23 namespace relpipe {
    21 namespace relpipe {
    24 namespace in {
    22 namespace in {
    25 namespace ini {
    23 namespace ini {
    26 namespace lib {
    24 namespace lib {
    27 
    25 
    35 	 * The dialect may be also derived from another dialect (extend or modify it),
    33 	 * The dialect may be also derived from another dialect (extend or modify it),
    36 	 * but obviously there might be no cyclic dependencies among them.
    34 	 * but obviously there might be no cyclic dependencies among them.
    37 	 */
    35 	 */
    38 	virtual void apply(INIReader& reader) = 0;
    36 	virtual void apply(INIReader& reader) = 0;
    39 
    37 
       
    38 	virtual ~Dialect() {
       
    39 	}
       
    40 
    40 };
    41 };
    41 
    42 
    42 }
    43 }
    43 }
    44 }
    44 }
    45 }