summaryrefslogtreecommitdiff
path: root/project2/ice/sliceCompile.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/ice/sliceCompile.h')
-rw-r--r--project2/ice/sliceCompile.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/project2/ice/sliceCompile.h b/project2/ice/sliceCompile.h
new file mode 100644
index 0000000..5f11c88
--- /dev/null
+++ b/project2/ice/sliceCompile.h
@@ -0,0 +1,21 @@
+#ifndef SLICECOMPILE_H
+#define SLICECOMPILE_H
+
+#include "iceCompile.h"
+#include <string>
+#include <Slice/Parser.h>
+#include <Slice/Preprocessor.h>
+
+class SliceCompile : public IceCompile {
+ public:
+ SliceCompile(const boost::filesystem::path & slice, const IceCompile::Deps & dep);
+
+ void Build(const boost::filesystem::path & in, const boost::filesystem::path & out) const;
+ virtual void Headers(FILE *) const;
+ virtual void Body(FILE *, Slice::UnitPtr) const = 0;
+
+ boost::filesystem::path InputPath() const;
+};
+
+#endif
+