24 lines
451 B
C++
24 lines
451 B
C++
#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:
|
|
Settings::PCompilerSet compilerSet() override;
|
|
bool prepareForCompile() override;
|
|
|
|
private:
|
|
QString mFileName;
|
|
QByteArray mEncoding;
|
|
|
|
};
|
|
|
|
#endif // FILECOMPILER_H
|