akregator/src/librss
RSS::OutputRetriever Class Reference
#include <loader.h>
Inheritance diagram for RSS::OutputRetriever:

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 160 of file loader.h.
Public Member Functions | |
| OutputRetriever () | |
| virtual | ~OutputRetriever () |
| virtual void | retrieveData (const KURL &url) |
| virtual int | errorCode () const |
| virtual void | abort () |
Constructor & Destructor Documentation
| OutputRetriever::OutputRetriever | ( | ) |
| OutputRetriever::~OutputRetriever | ( | ) | [virtual] |
Member Function Documentation
| 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:
-
url An URL which is supposed to reference an executable file.
- See also:
- Loader::loadFrom()
Implements RSS::DataRetriever.
Definition at line 200 of file loader.cpp.
| 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.
The documentation for this class was generated from the following files:

