mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
ebc481ddc0
Differs from Palm in having no edit field. Rather, a separate dialog comes up to get the new name. Rather than reload the spinbox with a new set of saved games after an action, just close and reopen the dialog.
50 lines
1.9 KiB
C
50 lines
1.9 KiB
C
/* -*- fill-column: 77; c-basic-offset: 4; compile-command: "make TARGET_OS=wince DEBUG=TRUE" -*- */
|
|
/*
|
|
* Copyright 2008 by Eric House (xwords@eehouse.org). All rights reserved.
|
|
*
|
|
* 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 _CESVDGMS_H_
|
|
#define _CESVDGMS_H_
|
|
|
|
#include "xptypes.h"
|
|
#include "cemain.h"
|
|
|
|
#ifdef _WIN32_WCE
|
|
# define DEFAULT_DIR_NAME L"\\My Documents\\Crosswords"
|
|
# define PREFSFILENAME L"\\My Documents\\Crosswords\\xwprefs"
|
|
# define UNSAVEDGAMEFILENAME "\\My Documents\\Crosswords\\_newgame"
|
|
#else
|
|
# define DEFAULT_DIR_NAME L"\\tmp"
|
|
# define PREFSFILENAME L"\\tmp\\xwprefs"
|
|
# define UNSAVEDGAMEFILENAME "\\tmp\\_newgame"
|
|
#endif
|
|
|
|
|
|
#ifdef _WIN32_WCE
|
|
# define DEFAULT_DIR_NAME L"\\My Documents\\Crosswords"
|
|
/* # define PREFSFILENAME L"\\My Documents\\Crosswords\\xwprefs" */
|
|
/* # define UNSAVEDGAMEFILENAME "\\My Documents\\Crosswords\\_newgame" */
|
|
#else
|
|
/* # define DEFAULT_DIR_NAME L"." */
|
|
# define DEFAULT_DIR_NAME L"\\tmp"
|
|
#endif
|
|
|
|
XP_Bool ceSavedGamesDlg( CEAppGlobals* globals, const XP_UCHAR* curPath,
|
|
wchar_t* buf, XP_U16 buflen );
|
|
XP_Bool ceConfirmUniqueName( CEAppGlobals* globals, XP_U16 strId, wchar_t* buf,
|
|
XP_U16 buflen );
|
|
#endif
|