You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
851 B
48 lines
851 B
15 years ago
|
#ifndef __help_h__
|
||
|
#define __help_h__
|
||
|
|
||
|
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
|
||
15 years ago
|
#include <tqintdict.h>
|
||
|
#include <tqstring.h>
|
||
|
#include <tqvaluelist.h>
|
||
15 years ago
|
|
||
|
|
||
12 years ago
|
#include <tdeio/global.h>
|
||
|
#include <tdeio/slavebase.h>
|
||
15 years ago
|
|
||
12 years ago
|
class HelpProtocol : public TDEIO::SlaveBase
|
||
15 years ago
|
{
|
||
|
public:
|
||
|
|
||
15 years ago
|
HelpProtocol( bool ghelp, const TQCString &pool, const TQCString &app);
|
||
15 years ago
|
virtual ~HelpProtocol() { }
|
||
|
|
||
|
virtual void get( const KURL& url );
|
||
|
|
||
|
virtual void mimetype( const KURL& url );
|
||
|
|
||
|
private:
|
||
|
|
||
15 years ago
|
TQString langLookup(const TQString& fname);
|
||
15 years ago
|
void emitFile( const KURL &url );
|
||
|
void get_file( const KURL& url );
|
||
15 years ago
|
TQString lookupFile(const TQString &fname, const TQString &query,
|
||
15 years ago
|
bool &redirect);
|
||
|
|
||
13 years ago
|
void unicodeError( const TQString &t );
|
||
15 years ago
|
|
||
15 years ago
|
TQString mParsed;
|
||
15 years ago
|
bool mGhelp;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|