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

« back to all changes in this revision

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

  • 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
/* This file is part of the KDE project
 
2
   Copyright (C) 2001 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
 
3
   Copyright (C) 2002 Roberto Raggi <roberto@kdevelop.org>
 
4
   Copyright (C) 2002 Bernd Gehrmann <bernd@kdevelop.org>
 
5
   Copyright (C) 2003 Amilcar do Carmo Lucas <amilcar@ida.ing.tu-bs.de>
 
6
 
 
7
   This library is free software; you can redistribute it and/or
 
8
   modify it under the terms of the GNU Library General Public
 
9
   License as published by the Free Software Foundation; either
 
10
   version 2 of the License, or (at your option) any later version.
 
11
 
 
12
   This library is distributed in the hope that it will be useful,
 
13
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
   Library General Public License for more details.
 
16
 
 
17
   You should have received a copy of the GNU Library General Public License
 
18
   along with this library; see the file COPYING.LIB.  If not, write to
 
19
   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
   Boston, MA 02111-1307, USA.
 
21
*/
 
22
#ifndef _KDEVAPPFRONTENDIFACE_H_
 
23
#define _KDEVAPPFRONTENDIFACE_H_
 
24
 
 
25
#include <dcopobject.h>
 
26
 
 
27
class KDevAppFrontend;
 
28
 
 
29
class KDevAppFrontendIface : public DCOPObject
 
30
{
 
31
    K_DCOP
 
32
    
 
33
public:
 
34
    
 
35
    KDevAppFrontendIface( KDevAppFrontend *appFrontend );
 
36
    ~KDevAppFrontendIface();
 
37
 
 
38
k_dcop:
 
39
    void startAppCommand(const QString &directory, const QString &command, bool inTerminal);
 
40
    void stopApplication();
 
41
    bool isRunning();
 
42
    void clearView();
 
43
    void insertStderrLine(const QString &line);
 
44
    void insertStdoutLine(const QString &line);
 
45
    
 
46
private:
 
47
    KDevAppFrontend *m_appFrontend;
 
48
};
 
49
 
 
50
#endif