mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 14:16:10 -06:00
44 lines
927 B
C++
44 lines
927 B
C++
#ifndef _ide_Builders_Components_h_
|
|
#define _ide_Builders_Components_h_
|
|
|
|
#include <Core/Core.h>
|
|
|
|
namespace Upp {
|
|
|
|
class BuilderComponent {
|
|
public:
|
|
BuilderComponent() { this->builder = NULL; }
|
|
BuilderComponent(Builder *builder) : builder(builder) {}
|
|
|
|
void SetBuilder(Builder *builder) { this->builder = builder; }
|
|
|
|
bool IsBuilder() const { return builder != NULL; }
|
|
|
|
protected:
|
|
Builder *builder;
|
|
};
|
|
|
|
struct Blitz {
|
|
bool build;
|
|
int count;
|
|
String path;
|
|
String object;
|
|
String info;
|
|
};
|
|
|
|
String BlitzBaseFile();
|
|
void ResetBlitz();
|
|
void InitBlitz();
|
|
|
|
class BlitzBuilderComponent : public BuilderComponent {
|
|
public:
|
|
BlitzBuilderComponent(Builder *builder) : BuilderComponent(builder) {}
|
|
|
|
Blitz MakeBlitzStep(Vector<String>& sfile, Vector<String>& soptions,
|
|
Vector<String>& obj, Vector<String>& immfile,
|
|
const char *objext, const Index<String>& noblitz);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|