MODEMREG.H 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. ** Command & Conquer Red Alert(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef WIN32
  19. #define WIN32
  20. #ifndef _WIN32 // Denzil 6/2/98 Watcom 11.0 complains without this check
  21. #define _WIN32
  22. #endif // _WIN32
  23. #endif //WIN32
  24. #include <windows.h>
  25. class ModemRegistryEntryClass {
  26. public:
  27. ModemRegistryEntryClass (int modem_number);
  28. ~ModemRegistryEntryClass (void);
  29. char *Get_Modem_Name (void) { return (ModemName); }
  30. char *Get_Modem_Device_Name (void) { return (ModemDeviceName); }
  31. char *Get_Modem_Error_Correction_Enable (void) { return (ErrorCorrectionEnable); }
  32. char *Get_Modem_Error_Correction_Disable (void) { return (ErrorCorrectionDisable); }
  33. char *Get_Modem_Compression_Enable (void) { return (CompressionEnable); }
  34. char *Get_Modem_Compression_Disable (void) { return (CompressionDisable); }
  35. char *Get_Modem_Hardware_Flow_Control (void) { return (HardwareFlowControl); }
  36. char *Get_Modem_No_Flow_Control (void) { return (HardwareFlowControl); }
  37. private:
  38. char *ModemName;
  39. char *ModemDeviceName;
  40. char *ErrorCorrectionEnable;
  41. char *ErrorCorrectionDisable;
  42. char *CompressionEnable;
  43. char *CompressionDisable;
  44. char *HardwareFlowControl;
  45. char *NoFlowControl;
  46. };