Public Member Functions | Static Public Member Functions

TarScanner Class Reference

Helper for scanning for files with tar as extension. More...

#include <fileio_func.h>

Inheritance diagram for TarScanner:
FileScanner

Public Member Functions

bool AddFile (const char *filename, size_t basepath_length)
 Add a file with the given filename.

Static Public Member Functions

static uint DoScan ()
 Do the scan for Tars.

Detailed Description

Helper for scanning for files with tar as extension.

Definition at line 90 of file fileio_func.h.


Member Function Documentation

bool TarScanner::AddFile ( const char *  filename,
size_t  basepath_length 
) [virtual]

Add a file with the given filename.

Parameters:
filename the full path to the file to read
basepath_length amount of characters to chop of before to get a filename relative to the search path.
Returns:
true if the file is added.

< Name of the file

< Size of the file, in ASCII

< Path of the file

< Temporary list to collect links

Implements FileScanner.

Definition at line 559 of file fileio.cpp.

References Align(), DEBUG, lastof, SimplifyFileName(), and strecpy().

Referenced by ClientNetworkContentSocketHandler::AfterDownload().

uint TarScanner::DoScan (  )  [static]

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