home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_GEN
/
FACETV.ZIP
/
DOSSHELL.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-12-09
|
907b
|
42 lines
/************************************************************************
**
** @(#)dosshell.h 04/01/93 Chris Ahlstrom
**
** ------------------------
** 73340.26!compuserve.com
** ------------------------
**
** C++ version
**
** Class for implementing a DOS shell.
**
*************************************************************************/
#if !defined(DOSSHELL_h) // { DOSSHELL_h
#define DOSSHELL_h
#define Uses_TEventQueue
#include <tv.h> // Turbo Vision code galore!!!
class DosShell : public TEventQueue
{
public:
DosShell // DOS Shell object
(
char *newp // the prompt for new COMMAND.COM
);
void shell(); // DOS Shell Command
private:
char *oldP, *P; // pointers for old DOS prompt
char *newP; // pointer for new DOS prompt
int shIs; // return code for system()
};
#endif // } DOSSHELL_h