src/languages/microbe.h

00001 /***************************************************************************
00002  *   Copyright (C) 2005 by David Saxton                                    *
00003  *   david@bluehaze.org                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef MICROBE_H
00012 #define MICROBE_H
00013 
00014 #include "externallanguage.h"
00015 
00016 #include <qmap.h>
00017 
00018 typedef QMap< int, QString > ErrorMap;
00019 
00024 class Microbe : public ExternalLanguage
00025 {
00026 public:
00027         Microbe( ProcessChain *processChain, KTechlab *parent );
00028         ~Microbe();
00029         
00030         virtual void processInput( ProcessOptions options );
00031         virtual ProcessOptions::ProcessPath::Path outputPath( ProcessOptions::ProcessPath::Path inputPath ) const;
00032         
00033 protected:
00034         virtual bool isError( const QString &message ) const;
00035         virtual bool isWarning( const QString &message ) const;
00036         
00037         ErrorMap m_errorMessages;
00038 };
00039 
00040 #endif

Generated on Tue May 8 17:05:31 2007 for KTechLab by  doxygen 1.5.1