blob: 39d794883176a133bdb3c9f545b7569a39aabbc1 (
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 std::filesystem::path & slice, const IceCompile::Deps & dep);
unsigned int Count(const std::filesystem::path & in) const;
unsigned int Build(const std::filesystem::path & in, const std::filesystem::path & out) const;
virtual void Headers(FILE *) const;
virtual unsigned int Body(FILE *, Slice::UnitPtr) const = 0;
std::filesystem::path InputPath() const;
private:
unsigned int build(const std::filesystem::path & in, FILE *) const;
};
#endif
|