blob: 458dc9301f71b24c742044291a57c541bda478c5 (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#ifndef CCSOURCE_H_
#define CCSOURCE_H_
#include "Configuration.h"
#include "Generator.h"
#include "SharedRef.h"
#include <string>
#include <vector>
class ProcessController;
class CCSource : public Configurable
{
public:
CCSource(const std::string& Name);
virtual ~CCSource();
void compilationFinished(bool Correctly);
std::string name() const;
void setName(const std::string& N);
std::string sourceName() const;
std::string dependencyName() const;
void setDependencyName(const std::string& n);
std::string objectName() const;
void setObjectName(const std::string& n);
virtual ProcessController* createNextTask();
bool objectFileIsCorrect();
private:
std::string Name;
std::string ObjectName;
std::string DependencyName;
bool ConsideredCompiling;
bool CompiledCorrectly;
};
class GeneratedCCSource : public CCSource
{
public:
GeneratedCCSource(SharedPtr<Generator> aGen);
virtual ProcessController* createNextTask();
private:
SharedPtr<Generator> theGenerator;
};
#endif
|