1/*
2 kwrited is a write(1) receiver for KDE.
3 Copyright 1997,1998 by Lars Doelle <lars.doelle@on-line.de>
4 Copyright 2008 by George Kiagiadakis <gkiagia@users.sourceforge.net>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301 USA.
20*/
21
22#ifndef KWRITED_H
23#define KWRITED_H
24
25#include <config-kwrited.h>
26#include <QtCore/QObject>
27class KPtyDevice;
28
29class KWrited : public QObject
30{
31 Q_OBJECT
32public:
33 KWrited();
34 ~KWrited();
35
36private Q_SLOTS:
37 void block_in();
38
39private:
40 KPtyDevice* pty;
41};
42
43#if !defined(BUILD_AS_EXECUTABLE)
44# include <kdedmodule.h>
45
46class KWritedModule : public KDEDModule
47{
48public:
49 KWritedModule(QObject* parent, const QList<QVariant>&);
50 ~KWritedModule();
51private:
52 KWrited* pro;
53};
54
55#endif
56
57#endif
58