aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/FileInputPlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input/Open: use OpenLocalInputStream()Max Kellermann2014-10-021-12/+7
| | | | | | | Make the "open" method of plugins "file" and "archive" dummy methods that always fail. Instead, let InputStream::Open() hard-code access to these two plugins by using OpenLocalInputStream(). This allows simplifyin the algorithm for falling back to probing archive plugins.
* input/file: export function OpenFileInputStream()Max Kellermann2014-10-021-13/+26
|
* input/file: generate Error when errno==ENOENTMax Kellermann2014-10-021-1/+1
| | | | | This special case was useless. Fixes the dreaded "Unrecognized URI" error message when a file does not exist.
* input/file: make the "fd" attribute "const"Max Kellermann2014-10-021-1/+1
|
* input/file: make variables more localMax Kellermann2014-10-021-6/+3
|
* input/file: convert to classMax Kellermann2014-10-021-1/+2
|
* InputStream: make offset_type unsignedMax Kellermann2014-08-191-3/+3
|
* InputStream: make Seek() always absoluteMax Kellermann2014-05-221-5/+3
| | | | | Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
* InputStream: remove attribute "plugin"Max Kellermann2014-05-111-1/+1
|
* InputStream: make various methods abstractMax Kellermann2014-05-111-30/+20
| | | | Replace InputPlugin attributes.
* InputStream: add virtual destructorMax Kellermann2014-05-111-9/+0
| | | Replaces the method Close().
* input/plugins: make InputStream the base classMax Kellermann2014-05-111-12/+8
| | | | Prepare for adding virtual methods.
* InputStream: convert to classMax Kellermann2014-05-111-2/+2
|
* Input*: move to input/Max Kellermann2014-01-241-0/+157