File indexing completed on 2025-04-20 05:11:07
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 GPDASM_H 0012 #define GPDASM_H 0013 0014 #include <externallanguage.h> 0015 0016 /** 0017 Interface to the GNU Pic Disassembler 0018 @author David Saxton 0019 */ 0020 class Gpdasm : public ExternalLanguage 0021 { 0022 public: 0023 Gpdasm(ProcessChain *processChain); 0024 ~Gpdasm() override; 0025 0026 void processInput(ProcessOptions options) override; 0027 MessageInfo extractMessageInfo(const QString &text) override; 0028 ProcessOptions::ProcessPath::Path outputPath(ProcessOptions::ProcessPath::Path inputPath) const override; 0029 0030 protected: 0031 void outputtedMessage(const QString &message) override; 0032 bool isError(const QString &message) const override; 0033 bool isWarning(const QString &message) const override; 0034 bool processExited(bool successfully) override; 0035 0036 QString m_asmOutput; // Outputed by gpdasm 0037 }; 0038 0039 #endif