File indexing completed on 2024-06-16 08:27:28

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 GPLIB_H
0012 #define GPLIB_H
0013 
0014 #include <externallanguage.h>
0015 
0016 /**
0017 @author David Saxton
0018 */
0019 class Gplib : public ExternalLanguage
0020 {
0021 public:
0022     Gplib(ProcessChain *processChain);
0023     ~Gplib() override;
0024 
0025     void processInput(ProcessOptions options) override;
0026     MessageInfo extractMessageInfo(const QString &text) override;
0027     ProcessOptions::ProcessPath::Path outputPath(ProcessOptions::ProcessPath::Path inputPath) const override;
0028 
0029 protected:
0030     bool isError(const QString &message) const override;
0031     bool isWarning(const QString &message) const override;
0032 };
0033 
0034 #endif