3
/* This file is part of the KDE project
4
Copyright (C) 2001 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
5
Copyright (C) 2002 Roberto Raggi <roberto@kdevelop.org>
6
Copyright (C) 2002 Bernd Gehrmann <bernd@kdevelop.org>
7
Copyright (C) 2003 Amilcar do Carmo Lucas <amilcar@ida.ing.tu-bs.de>
9
This library is free software; you can redistribute it and/or
10
modify it under the terms of the GNU Library General Public
11
License as published by the Free Software Foundation; either
12
version 2 of the License, or (at your option) any later version.
14
This library is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
Library General Public License for more details.
19
You should have received a copy of the GNU Library General Public License
20
along with this library; see the file COPYING.LIB. If not, write to
21
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
Boston, MA 02111-1307, USA.
24
#include "KDevAppFrontendIface.h"
25
#include "kdevappfrontend.h"
28
KDevAppFrontendIface::KDevAppFrontendIface(KDevAppFrontend *appFrontend)
29
: DCOPObject("KDevAppFrontend"), m_appFrontend(appFrontend)
34
KDevAppFrontendIface::~KDevAppFrontendIface()
38
void KDevAppFrontendIface::startAppCommand(const QString &directory, const QString &command, bool inTerminal)
40
m_appFrontend->startAppCommand(directory, command, inTerminal);
43
void KDevAppFrontendIface::stopApplication( )
45
m_appFrontend->stopApplication();
48
bool KDevAppFrontendIface::isRunning( )
50
return m_appFrontend->isRunning();
53
void KDevAppFrontendIface::clearView( )
55
m_appFrontend->clearView();
58
void KDevAppFrontendIface::insertStderrLine( const QString & line )
60
m_appFrontend->insertStderrLine(line);
63
void KDevAppFrontendIface::insertStdoutLine( const QString & line )
65
m_appFrontend->insertStdoutLine(line);