Logo Search packages:      
Sourcecode: vdr-plugin-osdteletext version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

LegacyStorage Class Reference

Inheritance diagram for LegacyStorage:
Inheritance graph
Collaboration diagram for LegacyStorage:
Collaboration graph

List of all members.

Public Types

enum  StorageSystem { StorageSystemLegacy, StorageSystemPacked }

Public Member Functions

virtual void cleanUp ()
virtual void close (StorageHandle stream)
virtual void getFilename (char *buffer, int bufLength, PageID page)
void init ()
virtual StorageHandle openForReading (PageID page, bool countAsAccess)
virtual StorageHandle openForWriting (PageID page)
void prepareDirectory (tChannelID chan)
virtual ssize_t read (void *ptr, size_t size, StorageHandle stream)
void setMaxStorage (int maxMB=-1)
virtual ssize_t write (const void *ptr, size_t size, StorageHandle stream)

Static Public Member Functions

static const char * getRootDir ()
static Storageinstance ()
static void setRootDir (const char *)
static void setSystem (StorageSystem system)

Protected Member Functions

virtual int actualFileSize (int netFileSize)
int cleanSubDir (const char *dir)
int doCleanUp ()
bool exists (const char *file)
void freeSpace ()
virtual void initMaxStorage (int maxMB=-1)
void registerFile (PageID page)

Protected Attributes

long byteCount
char * currentDir
int fsBlockSize
long maxBytes
int pageBytes

Static Protected Attributes

static const char * root = "/vtx"
static Storages_self = 0

Detailed Description

Definition at line 94 of file txtrecv.h.

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

Generated by  Doxygen 1.6.0   Back to index