2021-04-20 22:24:33 +08:00
|
|
|
#ifndef FILECOMPILER_H
|
|
|
|
#define FILECOMPILER_H
|
|
|
|
|
|
|
|
#include "compiler.h"
|
|
|
|
|
|
|
|
class FileCompiler : public Compiler
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
FileCompiler(const QString& filename, const QByteArray& encoding,bool silent,bool onlyCheckSyntax);
|
|
|
|
|
|
|
|
// Compiler interface
|
|
|
|
protected:
|
|
|
|
bool prepareForCompile() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QByteArray mEncoding;
|
2021-04-24 15:57:45 +08:00
|
|
|
|
2021-06-24 20:43:09 +08:00
|
|
|
// Compiler interface
|
|
|
|
protected:
|
2021-06-25 12:40:11 +08:00
|
|
|
QString pipedText() override;
|
|
|
|
|
|
|
|
// Compiler interface
|
|
|
|
protected:
|
|
|
|
bool prepareForRebuild() override;
|
2021-04-20 22:24:33 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FILECOMPILER_H
|