dataprotocol.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef __dataprotocol_h__
00020
#define __dataprotocol_h__
00021
00022
00023
00024
00025
00026
00027
00028
00029
class QString;
00030
class QCString;
00031
00032
class KURL;
00033
00034
#if defined(DATAKIOSLAVE)
00035
# include <kio/slavebase.h>
00036
#elif !defined(TESTKIO)
00037
# include "kio/dataslave.h"
00038
#endif
00039
00040
namespace KIO {
00041
00046
#if defined(DATAKIOSLAVE)
00047
class DataProtocol :
public KIO::
SlaveBase {
00048
#elif defined(TESTKIO)
00049
class DataProtocol :
public TestSlave {
00050
#else
00051 class DataProtocol :
public DataSlave {
00052
#endif
00053
00054
public:
00055
#if defined(DATAKIOSLAVE)
00056
DataProtocol(
const QCString &pool_socket,
const QCString &app_socket);
00057
#else
00058
DataProtocol();
00059
#endif
00060
virtual ~
DataProtocol();
00061
virtual void mimetype(
const KURL &url);
00062
virtual void get(
const KURL &url);
00063
#if defined(TESTKIO)
00064
void ref() {}
00065
void deref() {}
00066
#endif
00067
};
00068
00069 }
00070
00071
#endif
This file is part of the documentation for kio Library Version 3.4.0.