summaryrefslogtreecommitdiff
path: root/project2/ice/sliceCompile.h
blob: 5f11c88f45f8b9af630cfb91e9031406ab979789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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