RipFile Class Reference

#include <fileobs.h>

List of all members.


Detailed Description

Definition at line 19 of file fileobs.h.


Public Member Functions

 RipFile (const QString &a_base, const QString &an_extension, bool auto_remove_bad)
 ~RipFile ()
bool open (int mode, bool multiple_files)
QStringList close ()
void remove ()
QString name ()
bool writeBlocks (unsigned char *the_data, int how_much)

Private Attributes

QString base_name
QString extension
int filesize
QFile * active_file
int bytes_written
int access_mode
QPtrList< QFile > files
bool use_multiple_files
bool auto_remove_bad_rips

Constructor & Destructor Documentation

RipFile::RipFile ( const QString &  a_base,
const QString &  an_extension,
bool  auto_remove_bad 
)

Definition at line 18 of file fileobs.cpp.

RipFile::~RipFile (  ) 

Definition at line 168 of file fileobs.cpp.


Member Function Documentation

bool RipFile::open ( int  mode,
bool  multiple_files 
)

Definition at line 28 of file fileobs.cpp.

Referenced by DVDISOCopyThread::copyFullDisc(), and DVDThread::ripTitle().

QStringList RipFile::close ( void   ) 

Definition at line 44 of file fileobs.cpp.

Referenced by DVDISOCopyThread::copyFullDisc(), and DVDThread::ripTitle().

void RipFile::remove ( void   ) 

Definition at line 93 of file fileobs.cpp.

QString RipFile::name ( void   ) 

Definition at line 104 of file fileobs.cpp.

Referenced by DVDISOCopyThread::copyFullDisc(), and DVDThread::ripTitle().

bool RipFile::writeBlocks ( unsigned char *  the_data,
int  how_much 
)

Definition at line 109 of file fileobs.cpp.

Referenced by DVDISOCopyThread::copyFullDisc(), and DVDThread::ripTitle().


Member Data Documentation

QString RipFile::base_name [private]

Definition at line 35 of file fileobs.h.

Referenced by close(), open(), and writeBlocks().

QString RipFile::extension [private]

Definition at line 36 of file fileobs.h.

Referenced by close().

int RipFile::filesize [private]

Definition at line 37 of file fileobs.h.

Referenced by RipFile(), and writeBlocks().

QFile* RipFile::active_file [private]

Definition at line 38 of file fileobs.h.

Referenced by close(), name(), open(), remove(), writeBlocks(), and ~RipFile().

int RipFile::bytes_written [private]

Definition at line 39 of file fileobs.h.

Referenced by writeBlocks().

int RipFile::access_mode [private]

Definition at line 40 of file fileobs.h.

Referenced by open(), and writeBlocks().

QPtrList<QFile> RipFile::files [private]

Definition at line 41 of file fileobs.h.

Referenced by close(), open(), remove(), RipFile(), writeBlocks(), and ~RipFile().

Definition at line 42 of file fileobs.h.

Referenced by open().

Definition at line 43 of file fileobs.h.

Referenced by close(), and ~RipFile().


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

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