00001 #ifndef __info_h__
00002 #define __info_h__
00003
00004 #include <tqobject.h>
00005
00006 #include <kio/slavebase.h>
00007
00008 class KProcess;
00009
00010 class InfoProtocol : public KIO::SlaveBase
00011 {
00012 public:
00013
00014 InfoProtocol( const TQCString &pool, const TQCString &app );
00015 virtual ~InfoProtocol();
00016
00017 virtual void get( const KURL& url );
00018 virtual void stat( const KURL& url );
00019 virtual void mimetype( const KURL& url );
00020
00021 protected:
00022
00023 void decodeURL( const KURL &url );
00024 void decodePath( TQString path );
00025
00026 private:
00027
00028 TQString m_page;
00029 TQString m_node;
00030
00031 TQString m_perl;
00032 TQString m_infoScript;
00033 TQString m_infoConf;
00034 };
00035
00036 #endif // __info_h__