blob: db4127b7fe3c5d04fdef659463948b9e6a7bdce4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef SLICECOMPILE_H
#define SLICECOMPILE_H
#include "iceCompile.h"
#include <string>
#include <Slice/Parser.h>
#include <Slice/Preprocessor.h>
#include <visibility.h>
class DLL_PUBLIC SliceCompile : public IceCompile {
public:
SliceCompile(const boost::filesystem::path & slice, const IceCompile::Deps & dep);
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 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
|