summaryrefslogtreecommitdiffstats
path: root/tdeioslave/info/info.h
blob: c77240613b7e5af04cd889fabdd19b112d34e922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef __info_h__
#define __info_h__

#include <tqobject.h>

#include <tdeio/slavebase.h>

class TDEProcess;

class InfoProtocol : public TDEIO::SlaveBase
{
public:

    InfoProtocol( const TQCString &pool, const TQCString &app );
    virtual ~InfoProtocol();

    virtual void get( const KURL& url );
    virtual void stat( const KURL& url );
    virtual void mimetype( const KURL& url );

protected:

    void decodeURL( const KURL &url );
    void decodePath( TQString path );

private:

    TQString   m_page;
    TQString   m_node;

    TQString   m_perl;
    TQString   m_infoScript;
    TQString   m_infoConf;
};

#endif // __info_h__