CnC_Remastered_Collection

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

CONFDLG.H (2822B)


      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 /* $Header:   F:\projects\c&c0\vcs\code\confdlg.h_v   4.69   27 Aug 1996 15:43:36   JOE_BOSTIC  $ */
     17 /***********************************************************************************************
     18  ***              C O N F I D E N T I A L  ---  W E S T W O O D  S T U D I O S               ***
     19  ***********************************************************************************************
     20  *                                                                                             *
     21  *                 Project Name : Command & Conquer                                            *
     22  *                                                                                             *
     23  *                    File Name : CONFDLG.H                                                    *
     24  *                                                                                             *
     25  *                   Programmer : Maria del Mar McCready Legg											  *
     26  *											 Joe L. Bostic                                                *
     27  *                                                                                             *
     28  *                   Start Date : Jan 30, 1995                                                 *
     29  *                                                                                             *
     30  *                  Last Update : Jan 30, 1995   [MML]                                         *
     31  *                                                                                             *
     32  *---------------------------------------------------------------------------------------------*/
     33 
     34 #ifndef CONFDLG_H
     35 #define CONFDLG_H
     36 
     37 #include "gadget.h"
     38 
     39 class ConfirmationClass
     40 {
     41 	private:
     42 		enum ConfirmationClassEnum {
     43 			BUTTON_YES=1,								// Button number for "Options menu"
     44 			BUTTON_NO									// Button number for "Options menu"
     45 		};
     46 
     47 	public:
     48 		ConfirmationClass(void) {  };
     49 		bool Process(char const * string);
     50 		bool Process(int text);
     51 };
     52 
     53 #endif