Pasti file Reader-Writer  1.0
Pasti files
Public Types | Public Member Functions | List of all members
Pasti.PastiWriter Class Reference

The Pasti Writer Class More...

Public Types

enum  WriteStatus { WriteStatus.Ok = 0, WriteStatus.FileNotFound, WriteStatus.NotPastiFile, WriteStatus.UnsupportedVersion }
 Status returned when reading Pasti file More...
 

Public Member Functions

 PastiWriter (TextBox tb)
 The Pasti Writer Constructor More...
 
WriteStatus writePasti (string fileName, Floppy fd)
 Read a Pasti file and fills the Floppy structure More...
 

Detailed Description

The Pasti Writer Class

Definition at line 39 of file PastiWrite.cs.

Member Enumeration Documentation

Status returned when reading Pasti file

Enumerator
Ok 

File read correctly

FileNotFound 

Could not open file for reading or file not found

NotPastiFile 

The header in the file is not RSY

UnsupportedVersion 

Not version 3

Definition at line 53 of file PastiWrite.cs.

Constructor & Destructor Documentation

Pasti.PastiWriter.PastiWriter ( TextBox  tb)
inline

The Pasti Writer Constructor

Parameters
tbThe textbox used to display information

Definition at line 46 of file PastiWrite.cs.

Member Function Documentation

WriteStatus Pasti.PastiWriter.writePasti ( string  fileName,
Floppy  fd 
)
inline

Read a Pasti file and fills the Floppy structure

Parameters
fileNameName of the Pasti file to read
fdthe Floppy parameter
Returns
The status

Definition at line 71 of file PastiWrite.cs.


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