KDevelop API Documentation

chm.h

Go to the documentation of this file.
00001 /*  This library is free software; you can redistribute it and/or
00002     modify it under the terms of the GNU Library General Public
00003     License as published by the Free Software Foundation; either
00004     version 2 of the License, or (at your option) any later version.
00005 
00006     This library is distributed in the hope that it will be useful,
00007     but WITHOUT ANY WARRANTY; without even the implied warranty of
00008     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00009     Library General Public License for more details.
00010 
00011     You should have received a copy of the GNU Library General Public License
00012     along with this library; see the file COPYING.LIB.  If not, write to
00013     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00014     Boston, MA 02111-1307, USA.
00015 */
00016 
00017 #ifndef __chm_h__
00018 #define __chm_h__
00019 
00020 #include <qstring.h>
00021 #include <qcstring.h>
00022 #include <kurl.h>
00023 #include <kio/global.h>
00024 #include <kio/slavebase.h>
00025 #include "chmfile.h"
00026 
00027 class QCString;
00028 
00029 class ChmProtocol : public KIO::SlaveBase
00030 {
00031 public:
00032     ChmProtocol( const QCString&, const QCString& );
00033     ~ChmProtocol();
00034 
00035     void get( const KURL& );
00036 
00037 private:
00038     bool checkNewFile( QString, QString& );
00039     ChmDirectoryMap m_dirMap;
00040     QByteArray      m_contents;
00041     QString         m_chmFile;
00042     Chm             m_chm;
00043 };
00044 
00045 
00046 #endif // __chm_h__
00047 
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:39 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003