summaryrefslogtreecommitdiffstats
path: root/src/pre.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pre.h')
-rw-r--r--src/pre.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/pre.h b/src/pre.h
index 190673f..137b397 100644
--- a/src/pre.h
+++ b/src/pre.h
@@ -20,10 +20,16 @@
class BufStr;
-void initPreprocessor();
-void cleanUpPreprocessor();
-void addSearchDir(const char *dir);
-void preprocessFile(const char *fileName,BufStr &input,BufStr &output);
-void preFreeScanner();
+class Preprocessor
+{
+ public:
+ Preprocessor();
+ ~Preprocessor();
+ void processFile(const char *fileName,BufStr &input,BufStr &output);
+ void addSearchDir(const char *dir);
+ private:
+ struct Private;
+ Private *p;
+};
#endif