lib/interfaces/kdevappfrontend.h
Go to the documentation of this file.00001 /* This file is part of the KDE project 00002 Copyright (C) 2001 Matthias Hoelzer-Kluepfel <hoelzer@kde.org> 00003 Copyright (C) 2001-2002 Bernd Gehrmann <bernd@kdevelop.org> 00004 Copyright (C) 2002-2003 Roberto Raggi <roberto@kdevelop.org> 00005 Copyright (C) 2002 Simon Hausmann <hausmann@kde.org> 00006 Copyright (C) 2002 John Firebaugh <jfirebaugh@kde.org> 00007 Copyright (C) 2003 Amilcar do Carmo Lucas <amilcar@ida.ing.tu-bs.de> 00008 Copyright (C) 2003 Hamish Rodda <rodda@kde.org> 00009 Copyright (C) 2003 Jens Dagerbo <jens.dagerbo@swipnet.se> 00010 00011 This library is free software; you can redistribute it and/or 00012 modify it under the terms of the GNU Library General Public 00013 License as published by the Free Software Foundation; either 00014 version 2 of the License, or (at your option) any later version. 00015 00016 This library is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 Library General Public License for more details. 00020 00021 You should have received a copy of the GNU Library General Public License 00022 along with this library; see the file COPYING.LIB. If not, write to 00023 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00024 Boston, MA 02111-1307, USA. 00025 */ 00026 00031 #ifndef _KDEVAPPFRONTEND_H_ 00032 #define _KDEVAPPFRONTEND_H_ 00033 00034 #include <qstringlist.h> 00035 #include "kdevplugin.h" 00036 00037 00038 class KDevAppFrontend : public KDevPlugin 00039 { 00040 Q_OBJECT 00041 00042 public: 00043 00044 KDevAppFrontend( const QString& pluginName, const QString& icon, QObject *parent=0, const char *name=0 ); 00045 ~KDevAppFrontend(); 00046 00050 virtual bool isRunning() = 0; 00051 00052 public slots: 00060 virtual void startAppCommand(const QString &directory, const QString &program, bool inTerminal) = 0; 00064 virtual void stopApplication() = 0; 00068 virtual void insertStdoutLine(const QString &line) = 0; 00073 virtual void insertStderrLine(const QString &line) = 0; 00077 virtual void clearView() = 0; 00078 }; 00079 00080 #endif