~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: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

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 QCString & line )
59
 
{
60
 
    m_appFrontend->insertStderrLine(line);
61
 
}
62
 
 
63
 
void KDevAppFrontendIface::insertStdoutLine( const QCString & line )
64
 
{
65
 
    m_appFrontend->insertStdoutLine(line);
66
 
}
67
 
 
68
 
void KDevAppFrontendIface::addPartialStderrLine( const QCString& line )
69
 
{
70
 
    m_appFrontend->addPartialStderrLine(line);
71
 
}
72
 
 
73
 
void KDevAppFrontendIface::addPartialStdoutLine( const QCString& line )
74
 
{
75
 
    m_appFrontend->addPartialStdoutLine(line);
76
 
}