File indexing completed on 2024-06-16 11:34:35

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 GPLINK_H
0012 #define GPLINK_H
0013 
0014 #include <externallanguage.h>
0015 
0016 /**
0017 @short Interface to the GNU PIC linker
0018 @author David Saxton
0019 */
0020 class Gplink : public ExternalLanguage
0021 {
0022 public:
0023     Gplink(ProcessChain *processChain);
0024     ~Gplink() 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     bool isError(const QString &message) const override;
0032     bool isWarning(const QString &message) const override;
0033 
0034     QString m_sdccLibDir;
0035 };
0036 
0037 #endif