~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to lib/interfaces/extensions/dcop/KDevAppFrontendIface.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
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>
 
8
 
 
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.
 
13
 
 
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.
 
18
 
 
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.
 
23
*/
 
24
#include "KDevAppFrontendIface.h"
 
25
#include "kdevappfrontend.h"
 
26
 
 
27
 
 
28
KDevAppFrontendIface::KDevAppFrontendIface(KDevAppFrontend *appFrontend)
 
29
  : DCOPObject("KDevAppFrontend"), m_appFrontend(appFrontend)
 
30
{
 
31
}
 
32
 
 
33
 
 
34
KDevAppFrontendIface::~KDevAppFrontendIface()
 
35
{}
 
36
 
 
37
 
 
38
void KDevAppFrontendIface::startAppCommand(const QString &directory, const QString &command, bool inTerminal)
 
39
{
 
40
    m_appFrontend->startAppCommand(directory, command, inTerminal);
 
41
}
 
42
 
 
43
void KDevAppFrontendIface::stopApplication( )
 
44
{
 
45
    m_appFrontend->stopApplication();
 
46
}
 
47
 
 
48
bool KDevAppFrontendIface::isRunning( )
 
49
{
 
50
    return m_appFrontend->isRunning();
 
51
}
 
52
 
 
53
void KDevAppFrontendIface::clearView( )
 
54
{
 
55
    m_appFrontend->clearView();
 
56
}
 
57
 
 
58
void KDevAppFrontendIface::insertStderrLine( const QString & line )
 
59
{
 
60
    m_appFrontend->insertStderrLine(line);
 
61
}
 
62
 
 
63
void KDevAppFrontendIface::insertStdoutLine( const QString & line )
 
64
{
 
65
    m_appFrontend->insertStdoutLine(line);
 
66
}