1/***************************************************************************
2 A KTextEditor (Kate Part) plugin for speaking text.
3
4 Copyright:
5 (C) 2003-2004 by Olaf Schmidt <ojschmidt@kde.org>
6 (C) 2005 by Gary Cramblitt <garycramblitt@comcast.net>
7
8 Original Author: Olaf Schmidt <ojschmidt@kde.org>
9 ***************************************************************************/
10
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
19
20#ifndef _KATEKTTSD_H_
21#define _KATEKTTSD_H_
22
23#include <ktexteditor/plugin.h>
24#include <ktexteditor/view.h>
25#include <kate/plugin.h>
26
27#include <QtCore/QObject>
28
29class KateKttsdPlugin : public Kate::Plugin
30{
31 Q_OBJECT
32
33 public:
34 explicit KateKttsdPlugin( QObject* parent = 0, const QList<QVariant>& = QList<QVariant>() );
35 virtual ~KateKttsdPlugin() {};
36 Kate::PluginView *createView(Kate::MainWindow *mainWindow);
37};
38
39class KateKttsdPluginView : public Kate::PluginView, public Kate::XMLGUIClient
40{
41 Q_OBJECT
42
43 public:
44 explicit KateKttsdPluginView(Kate::MainWindow *mw );
45 ~KateKttsdPluginView();
46
47 public slots:
48 void slotReadOut();
49};
50
51#endif // _KATEKTTSD_H_
52