/*************************************************************************** A KTextEditor (Kate Part) plugin for speaking text. Copyright: (C) 2003-2004 by Olaf Schmidt (C) 2005 by Gary Cramblitt Original Author: Olaf Schmidt ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef _KATEKTTSD_H_ #define _KATEKTTSD_H_ #include #include #include #include class KateKttsdPlugin : public KTextEditor::Plugin, public KTextEditor::PluginViewInterface { Q_OBJECT public: KateKttsdPlugin( QObject *parent = 0, const char* name = 0, const QStringList &args = QStringList() ); virtual ~KateKttsdPlugin(); void addView (KTextEditor::View *view); void removeView (KTextEditor::View *view); private: QPtrList m_views; }; class KateKttsdPluginView : public QObject, public KXMLGUIClient { Q_OBJECT public: KateKttsdPluginView( KTextEditor::View *view, const char *name=0 ); ~KateKttsdPluginView() {}; public slots: void slotReadOut(); }; #endif // _KATEKTTSD_H_