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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/project2/ice/sliceCompile.h b/project2/ice/sliceCompile.h
index 5f11c88..d8e8e32 100644
--- a/project2/ice/sliceCompile.h
+++ b/project2/ice/sliceCompile.h
@@ -10,11 +10,15 @@ 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;
+ unsigned int Count(const boost::filesystem::path & in) const;
+ unsigned int 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;
+ virtual unsigned int Body(FILE *, Slice::UnitPtr) const = 0;
boost::filesystem::path InputPath() const;
+
+ private:
+ unsigned int build(const boost::filesystem::path & in, FILE *) const;
};
#endif