CnC_Remastered_Collection

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

MPGSET.H (1412B)


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