MusicScanner Class Reference

#include <music-scanner.h>

Inheritance diagram for MusicScanner:
Inheritance graph
[legend]
Collaboration diagram for MusicScanner:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MusicScanner (SongSelectorLogic *sroot)

Protected Member Functions

virtual void recursing (const QString dirname)
virtual void checkfile (const QString pathname, const QString filename)
virtual bool matchextension (const QString filename)

Constructor & Destructor Documentation

MusicScanner::MusicScanner ( SongSelectorLogic sroot  ) 

Member Function Documentation

void MusicScanner::checkfile ( const QString  dir,
const QString  filename 
) [protected, virtual]

Called for each file that has a proper extension.

Implements DirectoryScanner.

References app, createNewIndexFor(), Index::get_storedin(), DirectoryScanner::prefix_length, and slash.

bool MusicScanner::matchextension ( const QString  filename  )  [protected, virtual]

The function used to check whether the extension matches If the extension does not match the file is not sent to checkfile. The standard function will check the required_extension.

Reimplemented from DirectoryScanner.

References goodExtension().

void MusicScanner::recursing ( const QString  dirname  )  [protected, virtual]

Reimplemented from DirectoryScanner.

References app, and Log().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2