MPGSET.H 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 _MPGSETTINGS_H_
  19. #define _MPGSETTINGS_H_
  20. #include "function.h"
  21. #ifdef DVD
  22. #include "mci.h"
  23. #include "rawfile.h"
  24. class MPGSettings
  25. {
  26. public:
  27. MPGSettings(const char* deviceName);
  28. MPGSettings(FileClass& file);
  29. virtual ~MPGSettings(void);
  30. void SetDeviceName(const char* device);
  31. const char* GetDeviceName(void) const
  32. {return mDeviceName;}
  33. bool Save(FileClass& file);
  34. void Dialog(void);
  35. char* mDeviceName;
  36. #ifdef MCIMPEG
  37. MCI mMCI;
  38. unsigned int mCount;
  39. MCIDevice* mMCIDevices;
  40. #endif
  41. };
  42. #endif // DVD
  43. #endif // _MPGSETTINGS_H_