KDevelop API Documentation

vcs/cvsservice/bufferedstringreader.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Mario Scalas * 00003 * mario.scalas@libero.it * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef BUFFEREDSTRINGREADER_H 00013 #define BUFFEREDSTRINGREADER_H 00014 00015 #include <qstringlist.h> 00016 00017 class CvsServicePart; 00018 class KConfig; 00019 class KDevProject; 00020 00021 /* This class helps when we have to collect a string list from a text 00022 * stream, just as many cvs commands do. The problem is that the these commands 00023 * does not provide strings as we need: often a sent string is received 00024 * broken in two pieces and so we need a way to rebuild it. This class provide an 00025 * abstraction for avoiding this. 00026 * @author Mario Scalas <mario.scalas@libero.it> 00027 */ 00028 class BufferedStringReader 00029 { 00030 public: 00031 BufferedStringReader(); 00032 virtual ~BufferedStringReader(); 00033 00039 QStringList process( const QString &otherChars ); 00040 private: 00041 QString m_stringBuffer; 00042 }; 00043 00044 #endif // BUFFEREDSTRINGREADER_H
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:14 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003