home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / install / fips / source / host_os.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-11  |  763 b   |  35 lines

  1. // host_os.h    host operating system classes 
  2. //        dave mccaldon (d.mccalden@staffordshire.ac.uk) 
  3.  
  4. #ifndef HOST_OS_H 
  5. #define HOST_OS_H 
  6.  
  7. #include "types.h" 
  8.  
  9. #define    NOT_OK        0        // NOT_OK for FIPS to run 
  10. #define    OK        1        // OK for FIPS to run 
  11. #define UNKNOWN        2 
  12.  
  13.  
  14. class host_os 
  15. public: 
  16.     host_os();                      // constructor 
  17.     virtual int     ok () { return status; }; 
  18.     virtual char    *information( char * ); 
  19.  
  20. protected: 
  21.     char* (*format)(); 
  22.  
  23.     void msdos_version (); 
  24.     boolean mswindows_detect (); 
  25.     boolean dosemu_detect (); 
  26.     boolean desqview_detect (); 
  27.  
  28.     int             status;         // status value 
  29.     int             ver_major;      // major version number 
  30.     int             ver_minor;      // minor version number 
  31. }; 
  32.  
  33. #endif 
  34.