CnC_Remastered_Collection

Command and Conquer: Red Alert
Log | Files | Refs | README | LICENSE

MODEMREG.H (1991B)


      1 //
      2 // Copyright 2020 Electronic Arts Inc.
      3 //
      4 // TiberianDawn.DLL and RedAlert.dll and corresponding source code is free 
      5 // software: you can redistribute it and/or modify it under the terms of 
      6 // the GNU General Public License as published by the Free Software Foundation, 
      7 // either version 3 of the License, or (at your option) any later version.
      8 
      9 // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed 
     10 // in the hope that it will be useful, but with permitted additional restrictions 
     11 // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 
     12 // distributed with this program. You should have received a copy of the 
     13 // GNU General Public License along with permitted additional restrictions 
     14 // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
     15 
     16 
     17 #ifndef WIN32
     18 #define WIN32
     19 #ifndef _WIN32 // Denzil 6/2/98 Watcom 11.0 complains without this check
     20 #define _WIN32
     21 #endif // _WIN32
     22 #endif	//WIN32
     23 #include <windows.h>
     24 
     25 
     26 
     27 class ModemRegistryEntryClass {
     28 
     29 	public:
     30 
     31 		ModemRegistryEntryClass (int modem_number);
     32 		~ModemRegistryEntryClass (void);
     33 
     34 
     35 		char *Get_Modem_Name (void) { return (ModemName); }
     36 
     37 		char *Get_Modem_Device_Name (void) { return (ModemDeviceName); }
     38 
     39 		char *Get_Modem_Error_Correction_Enable (void) { return (ErrorCorrectionEnable); }
     40 
     41 		char *Get_Modem_Error_Correction_Disable (void) { return (ErrorCorrectionDisable); }
     42 
     43 		char *Get_Modem_Compression_Enable (void) { return (CompressionEnable); }
     44 
     45 		char *Get_Modem_Compression_Disable (void) { return (CompressionDisable); }
     46 
     47 		char *Get_Modem_Hardware_Flow_Control (void) { return (HardwareFlowControl); }
     48 
     49 		char *Get_Modem_No_Flow_Control (void) { return (HardwareFlowControl); }
     50 
     51 	private:
     52 
     53 		char *ModemName;
     54 		char *ModemDeviceName;
     55 		char *ErrorCorrectionEnable;
     56 		char *ErrorCorrectionDisable;
     57 		char *CompressionEnable;
     58 		char *CompressionDisable;
     59 		char *HardwareFlowControl;
     60 		char *NoFlowControl;
     61 
     62 };
     63 
     64 
     65 
     66 
     67 
     68 
     69