www.pudn.com > Mos.rar > Mos_io.h


// Mos_io.h: interface for the CMos_io class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MOS_IO_H__7CAE09FC_714A_4303_82B9_470CC7247CF2__INCLUDED_) 
#define AFX_MOS_IO_H__7CAE09FC_714A_4303_82B9_470CC7247CF2__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "Mos_proc.h" 
#include "Mos_UI.h"	// Added by ClassView 
class CMos_io   
{ 
public: 
	void wprtln(char* buffer); 
	void rkbln(char* buffer); 
	void rdsk(int n,char *buffer,int rec1,int &rec2); 
	void wdsk(int n,char *buffer,int rec1,int &rec2); 
	void wdsk(int n,char *buffer,int rec1); 
	iorbtype* CHTAIL[3]; 
	iorbtype* CHHEAD[3]; 
	CMos_io(); 
	virtual ~CMos_io(); 
	FILE *dsk; 
	FILE* print; 
	FILE* kb; 
protected: 
	void ioreq(int chno); 
private: 
	CMos_UI m_UI; 
	CMos_proc mos_proc; 
}; 
 
#endif // !defined(AFX_MOS_IO_H__7CAE09FC_714A_4303_82B9_470CC7247CF2__INCLUDED_)