2003-11-20 17:26:35 +01:00
|
|
|
/* -*-mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
|
|
|
/*
|
2009-01-05 15:13:40 +01:00
|
|
|
* Copyright 2002-2009 by Eric House (xwords@eehouse.org). All rights reserved.
|
2003-11-20 17:26:35 +01:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CEGINFO_H_
|
|
|
|
#define _CEGINFO_H_
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
#include "cemain.h"
|
|
|
|
#include "ceprefs.h"
|
2006-04-19 06:56:00 +02:00
|
|
|
#include "cedict.h"
|
2008-06-05 06:29:28 +02:00
|
|
|
#include "ceutil.h"
|
2006-06-08 03:35:20 +02:00
|
|
|
#include "nwgamest.h"
|
2003-11-20 17:26:35 +01:00
|
|
|
|
|
|
|
|
2009-10-17 05:38:37 +02:00
|
|
|
typedef struct _GInfoResults {
|
2003-11-20 17:26:35 +01:00
|
|
|
XP_Bool prefsChanged;
|
2004-04-14 05:57:59 +02:00
|
|
|
XP_Bool colorsChanged;
|
2009-10-02 07:48:48 +02:00
|
|
|
XP_Bool langChanged;
|
2005-07-23 17:31:21 +02:00
|
|
|
XP_Bool addrChanged;
|
2009-10-17 05:38:37 +02:00
|
|
|
} GInfoResults;
|
2003-11-20 17:26:35 +01:00
|
|
|
|
2009-12-04 10:09:07 +01:00
|
|
|
typedef enum {
|
|
|
|
GI_INFO_ONLY
|
|
|
|
,GI_NEW_GAME
|
|
|
|
,GI_GOTO_CONNS
|
|
|
|
} GIShow;
|
|
|
|
|
|
|
|
XP_Bool WrapGameInfoDialog( CEAppGlobals* globals, GIShow showWhat,
|
2009-10-17 05:38:37 +02:00
|
|
|
CePrefsPrefs* prefsPrefs,
|
|
|
|
XP_UCHAR* dictName, XP_U16 dictNameLen,
|
|
|
|
GInfoResults* results );
|
2003-11-20 17:26:35 +01:00
|
|
|
|
|
|
|
#endif
|