akregator/src/librss

RSS::OutputRetriever Class Reference

#include <loader.h>

Inheritance diagram for RSS::OutputRetriever:
RSS::DataRetriever

List of all members.

Public Member Functions

 OutputRetriever ()
virtual ~OutputRetriever ()
virtual void retrieveData (const KURL &url)
virtual int errorCode () const
virtual void abort ()

Detailed Description

Implements a data retriever which executes a program and stores returned by the program on stdout.

To be used with Loader::loadFrom().

See also:
DataRetriever, Loader::loadFrom()

Definition at line 162 of file loader.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 190 of file loader.cpp.

Destructor.

Definition at line 195 of file loader.cpp.


Member Function Documentation

int OutputRetriever::errorCode ( ) const [virtual]
Returns:
The error code for the last process of retrieving data. 0 is returned in case there was no error, otherwise an error code which depends on the particular program which was run is returned.

Implements RSS::DataRetriever.

Definition at line 218 of file loader.cpp.

void OutputRetriever::retrieveData ( const KURL &  url) [virtual]

Executes the program referenced by the given URL and retrieves the data which the program prints to stdout.

Parameters:
urlAn URL which is supposed to reference an executable file.
See also:
Loader::loadFrom()

Implements RSS::DataRetriever.

Definition at line 200 of file loader.cpp.


The documentation for this class was generated from the following files: