openMSX
Classes | Public Types | Public Member Functions | List of all members
openmsx::FilePool Class Referencefinal

#include <FilePool.hh>

Inheritance diagram for openmsx::FilePool:
Inheritance graph
[legend]
Collaboration diagram for openmsx::FilePool:
Collaboration graph
[legend]

Public Types

enum  FileType { SYSTEM_ROM = 1, ROM = 2, DISK = 4, TAPE = 8 }
 

Public Member Functions

 FilePool (CommandController &controler, Reactor &reactor)
 
 ~FilePool ()
 
File getFile (FileType fileType, const Sha1Sum &sha1sum)
 Search file with the given sha1sum. More...
 
Sha1Sum getSha1Sum (File &file)
 Calculate sha1sum for the given File object. More...
 

Detailed Description

Definition at line 23 of file FilePool.hh.

Member Enumeration Documentation

§ FileType

Enumerator
SYSTEM_ROM 
ROM 
DISK 
TAPE 

Definition at line 29 of file FilePool.hh.

Constructor & Destructor Documentation

§ FilePool()

openmsx::FilePool::FilePool ( CommandController controler,
Reactor reactor 
)

§ ~FilePool()

openmsx::FilePool::~FilePool ( )

Member Function Documentation

§ getFile()

File openmsx::FilePool::getFile ( FileType  fileType,
const Sha1Sum sha1sum 
)

§ getSha1Sum()

Sha1Sum openmsx::FilePool::getSha1Sum ( File file)

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