• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

  • tdeio
  • tdeio
dataprotocol.h
1// dataprotocol.h
2// ================
3//
4// Interface of the KDE data protocol core operations
5//
6// Author: Leo Savernik
7// Email: l.savernik@aon.at
8// (C) 2002 by Leo Savernik
9// Created: Sam Dez 28 14:11:18 CET 2002
10
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU Lesser General Public License as *
15 * published by the Free Software Foundation; version 2. *
16 * *
17 ***************************************************************************/
18
19#ifndef __dataprotocol_h__
20#define __dataprotocol_h__
21
22// dataprotocol.* interprets the following defines
23// DATAKIOSLAVE: define if you want to compile this into a stand-alone
24// tdeioslave
25// TESTKIO: define for test-driving
26// Both defines are mutually exclusive. Defining none of them compiles
27// DataProtocol for internal usage within libtdeiocore.
28
29class TQString;
30class TQCString;
31
32class KURL;
33
34#if defined(DATAKIOSLAVE)
35# include <tdeio/slavebase.h>
36#elif !defined(TESTKIO)
37# include "tdeio/dataslave.h"
38#endif
39
40namespace TDEIO {
41
46#if defined(DATAKIOSLAVE)
47class DataProtocol : public TDEIO::SlaveBase {
48#elif defined(TESTKIO)
49class DataProtocol : public TestSlave {
50#else
51class DataProtocol : public DataSlave {
52#endif
53
54public:
55#if defined(DATAKIOSLAVE)
56 DataProtocol(const TQCString &pool_socket, const TQCString &app_socket);
57#else
58 DataProtocol();
59#endif
60 virtual ~DataProtocol();
61 virtual void mimetype(const KURL &url);
62 virtual void get(const KURL &url);
63#if defined(TESTKIO)
64 void ref() {}
65 void deref() {}
66#endif
67};
68
69}/*end namespace*/
70
71#endif
TDEIO::DataProtocol
This tdeioslave provides support of data urls as specified by rfc 2397.
Definition dataprotocol.h:51
TDEIO::DataSlave
This class provides a high performance implementation for the data url scheme (rfc2397).
Definition dataslave.h:48
TDEIO::SlaveBase
There are two classes that specifies the protocol between application (job) and tdeioslave.
Definition slavebase.h:46
TDEIO
A namespace for TDEIO globals.
Definition authinfo.h:29
TDEIO::mimetype
TDEIO_EXPORT MimetypeJob * mimetype(const KURL &url, bool showProgressInfo=true)
Find mimetype for one file or directory.
Definition job.cpp:1573
TDEIO::get
TDEIO_EXPORT TransferJob * get(const KURL &url, bool reload=false, bool showProgressInfo=true)
Get (a.k.a.
Definition job.cpp:1284

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.9.8
This website is maintained by Timothy Pearson.