All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Attributes | Friends
localDrive Class Reference
Inheritance diagram for localDrive:
DOS_Drive cdromDrive physfsDrive physfscdromDrive

List of all members.

Public Member Functions

 localDrive (const char *startdir, Bit16u _bytes_sector, Bit8u _sectors_cluster, Bit16u _total_clusters, Bit16u _free_clusters, Bit8u _mediaid)
virtual bool FileOpen (DOS_File **file, const char *name, Bit32u flags)
virtual FILE * GetSystemFilePtr (char const *const name, char const *const type)
virtual bool GetSystemFilename (char *sysName, char const *const dosName)
virtual bool FileCreate (DOS_File **file, const char *name, Bit16u attributes)
virtual bool FileUnlink (const char *name)
virtual bool RemoveDir (const char *dir)
virtual bool MakeDir (const char *dir)
virtual bool TestDir (const char *dir)
virtual bool FindFirst (const char *_dir, DOS_DTA &dta, bool fcb_findfirst=false)
virtual bool FindNext (DOS_DTA &dta)
virtual bool GetFileAttr (const char *name, Bit16u *attr)
virtual bool Rename (const char *oldname, const char *newname)
virtual bool AllocationInfo (Bit16u *_bytes_sector, Bit8u *_sectors_cluster, Bit16u *_total_clusters, Bit16u *_free_clusters)
virtual bool FileExists (const char *name)
virtual bool FileStat (const char *name, FileStat_Block *const stat_block)
virtual Bit8u GetMediaByte (void)
virtual bool isRemote (void)
virtual bool isRemovable (void)
virtual Bits UnMount (void)
virtual char const * GetLabel ()
virtual void SetLabel (const char *label, bool iscdrom, bool updatable)
virtual void * opendir (const char *dir)
virtual void closedir (void *handle)
virtual bool read_directory_first (void *handle, char *entry_name, bool &is_directory)
virtual bool read_directory_next (void *handle, char *entry_name, bool &is_directory)
virtual void EmptyCache (void)
virtual void MediaChange ()

Protected Attributes

DOS_Drive_Cache dirCache
char basedir [CROSS_LEN]
struct {
   char   srch_dir [CROSS_LEN]
struct {
   Bit16u   bytes_sector
   Bit8u   sectors_cluster
   Bit16u   total_clusters
   Bit16u   free_clusters
   Bit8u   mediaid


void DOS_Shell::CMD_SUBST (char *args)

Detailed Description

Definition at line 54 of file drives.h.

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