interfaces Library API Documentation

kspeechsink.h

00001 /***************************************************** vim:set ts=4 sw=4 sts=4: 00002 kspeechsink.h 00003 KTTSD DCOP Signal Sink Interface 00004 -------------------------------- 00005 Copyright: 00006 (C) 2004 by Gary Cramblitt <garycramblitt@comcast.net> 00007 ------------------- 00008 Original author: 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 00037 #ifndef _KSPEECHSINK_H_ 00038 #define _KSPEECHSINK_H_ 00039 00040 #include <dcopobject.h> 00041 00042 class KSpeechSink : virtual public DCOPObject { 00043 K_DCOP 00044 00045 public: 00050 enum kttsdJobState 00051 { 00052 jsQueued = 0, 00053 jsSpeakable = 1, 00054 jsSpeaking = 2, 00055 jsPaused = 3, 00056 jsFinished = 4 00057 }; 00058 00063 enum kttsdMarkupType 00064 { 00065 mtPlain = 0, 00066 mtJsml = 1, 00067 mtSmml = 2, 00068 mtSable = 3 00069 }; 00070 00071 k_dcop: 00075 virtual ASYNC kttsdStarted() { }; 00079 virtual ASYNC kttsdExiting() { }; 00080 00087 virtual ASYNC markerSeen(const QCString&, const QString&) { }; 00095 virtual ASYNC sentenceStarted(const QCString&, uint, uint) { }; 00103 virtual ASYNC sentenceFinished(const QCString&, uint, uint) { }; 00104 00110 virtual ASYNC textSet(const QCString&, uint) { }; 00111 00119 virtual ASYNC textAppended(const QCString&, uint, int) { }; 00120 00126 virtual ASYNC textStarted(const QCString&, uint) { }; 00136 virtual ASYNC textFinished(const QCString&, uint) { }; 00142 virtual ASYNC textStopped(const QCString&, uint) { }; 00148 virtual ASYNC textPaused(const QCString&, uint) { }; 00154 virtual ASYNC textResumed(const QCString&, uint) { }; 00161 virtual ASYNC textRemoved(const QCString&, uint) { }; 00162 }; 00163 00164 #endif // _KSPEECHSINK_H_
KDE Logo
This file is part of the documentation for interfaces Library Version 3.4.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 14 00:44:00 2005 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003