kttsd Library API Documentation

pluginproc.cpp

00001 /***************************************************** vim:set ts=4 sw=4 sts=4:
00002   pluginproc.h
00003   This file is the template for the processing plug ins.
00004   -------------------
00005   Copyright : (C) 2002-2003 by José Pablo Ezequiel "Pupeno" Fernández
00006   -------------------
00007   Original author: José Pablo Ezequiel "Pupeno" Fernández <pupeno@kde.org>
00008   Current Maintainer: Gary Cramblitt <garycramblitt@comcast.net>
00009  ******************************************************************************/
00010 
00011 /***************************************************************************
00012  *                                                                         *
00013  *   This program is free software; you can redistribute it and/or modify  *
00014  *   it under the terms of the GNU General Public License as published by  *
00015  *   the Free Software Foundation; version 2 of the License.               *
00016  *                                                                         *
00017  ***************************************************************************/
00018 
00019 // Qt includes. 
00020 #include <qstring.h>
00021 
00022 // KDE includes.
00023 #include <kdebug.h>
00024 #include <kstandarddirs.h>
00025 
00026 // PlugInProc includes.
00027 #include "pluginproc.h"
00028 #include "pluginproc.moc"
00029 
00033 PlugInProc::PlugInProc( QObject *parent, const char *name) : QObject(parent, name){
00034     // kdDebug() << "PlugInProc::PlugInProc: Running" << endl;
00035 }
00036 
00040 PlugInProc::~PlugInProc(){
00041     // kdDebug() << "PlugInProc::~PlugInProc: Running" << endl;
00042 }
00043 
00047 bool PlugInProc::init(KConfig* /*config*/, const QString& /*configGroup*/){
00048     // kdDebug() << "PlugInProc::init: Running" << endl;
00049     return false;
00050 }
00051 
00058 void PlugInProc::sayText(const QString& /*text*/){
00059     // kdDebug() << "PlugInProc::sayText: Running" << endl;
00060 }
00061 
00072 void PlugInProc::synthText(const QString& /*text*/, const QString& /*suggestedFilename*/) { };
00073 
00081 QString PlugInProc::getFilename() { return QString::null; };
00082 
00088 void PlugInProc::stopText(){
00089     // kdDebug() << "PlugInProc::stopText: Running" << endl;
00090 }
00091 
00099 pluginState PlugInProc::getState() { return psIdle; }
00100 
00109 void PlugInProc::ackFinished() { }
00110 
00116 bool PlugInProc::supportsAsync() { return false; }
00117 
00124 bool PlugInProc::supportsSynth() { return false; }
00125 
00135 QString PlugInProc::getSsmlXsltFilename()
00136 {
00137     return KGlobal::dirs()->resourceDirs("data").last() + "kttsd/xslt/SSMLtoPlainText.xsl";
00138 }
KDE Logo
This file is part of the documentation for kttsd Library Version 3.3.90.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Dec 12 14:37:18 2004 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003