VideoScannerImp Class Reference

List of all members.


Detailed Description

Definition at line 17 of file videoscan.cpp.


Public Member Functions

 VideoScannerImp ()
 ~VideoScannerImp ()
void doScan (const QStringList &dirs)

Private Types

typedef std::vector< std::pair
< unsigned int, QString > > 
PurgeList
typedef std::map< QString, boolFileCheckList

Private Member Functions

void promptForRemoval (unsigned int id, const QString &filename)
void verifyFiles (FileCheckList &files, PurgeList &remove)
void updateDB (const FileCheckList &add, const PurgeList &remove)
void buildFileList (const QString &directory, const QStringList &imageExtensions, FileCheckList &filelist)

Private Attributes

bool m_ListUnknown
bool m_RemoveAll
bool m_KeepAll
MetadataListManagerm_dbmetadata

Member Typedef Documentation

typedef std::vector<std::pair<unsigned int, QString> > VideoScannerImp::PurgeList [private]

Definition at line 25 of file videoscan.cpp.

typedef std::map<QString, bool> VideoScannerImp::FileCheckList [private]

Definition at line 26 of file videoscan.cpp.


Constructor & Destructor Documentation

VideoScannerImp::VideoScannerImp (  ) 

Definition at line 59 of file videoscan.cpp.

VideoScannerImp::~VideoScannerImp (  ) 

Definition at line 69 of file videoscan.cpp.


Member Function Documentation

void VideoScannerImp::doScan ( const QStringList &  dirs  ) 

Definition at line 74 of file videoscan.cpp.

Referenced by VideoScanner::doScan().

void VideoScannerImp::promptForRemoval ( unsigned int  id,
const QString &  filename 
) [private]

Definition at line 100 of file videoscan.cpp.

Referenced by updateDB().

void VideoScannerImp::verifyFiles ( FileCheckList files,
PurgeList remove 
) [private]

Definition at line 177 of file videoscan.cpp.

Referenced by doScan().

void VideoScannerImp::updateDB ( const FileCheckList add,
const PurgeList remove 
) [private]

Definition at line 141 of file videoscan.cpp.

Referenced by doScan().

void VideoScannerImp::buildFileList ( const QString &  directory,
const QStringList &  imageExtensions,
FileCheckList filelist 
) [private]

Definition at line 256 of file videoscan.cpp.

Referenced by doScan().


Member Data Documentation

Definition at line 29 of file videoscan.cpp.

Referenced by buildFileList(), and VideoScannerImp().

Definition at line 30 of file videoscan.cpp.

Referenced by promptForRemoval().

Definition at line 31 of file videoscan.cpp.

Referenced by promptForRemoval().

Definition at line 33 of file videoscan.cpp.

Referenced by promptForRemoval(), verifyFiles(), VideoScannerImp(), and ~VideoScannerImp().


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

Generated on Sat Dec 18 05:16:14 2010 for MythTV by  doxygen 1.5.5