File indexing completed on 2025-04-27 05:16:34
0001 /*************************************************************************** 0002 * Copyright (C) 2005 by David Saxton * 0003 * david@bluehaze.org * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify * 0006 * it under the terms of the GNU General Public License as published by * 0007 * the Free Software Foundation; either version 2 of the License, or * 0008 * (at your option) any later version. * 0009 ***************************************************************************/ 0010 0011 #ifndef SDCC_H 0012 #define SDCC_H 0013 0014 #include <externallanguage.h> 0015 0016 /** 0017 @author David Saxton 0018 */ 0019 class SDCC : public ExternalLanguage 0020 { 0021 public: 0022 SDCC(ProcessChain *processChain); 0023 ~SDCC() override; 0024 0025 void processInput(ProcessOptions options) override; 0026 ProcessOptions::ProcessPath::Path outputPath(ProcessOptions::ProcessPath::Path inputPath) const override; 0027 0028 protected: 0029 bool isError(const QString &message) const override; 0030 bool isWarning(const QString &message) const override; 0031 bool isStderrOutputFatal(const QString &message) const override; 0032 }; 0033 0034 #endif