1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 // client_config.h : main header file for the CLIENT_CONFIG application
20 #if !defined(AFX_CLIENT_CONFIG_H__5ABEECBC_CE23_47C4_BD2F_8EBD81F203F3__INCLUDED_)
21 #define AFX_CLIENT_CONFIG_H__5ABEECBC_CE23_47C4_BD2F_8EBD81F203F3__INCLUDED_
25 #endif // _MSC_VER > 1000
28 #error include 'stdafx.h' before including this file for PCH
31 #include "resource.h" // main symbols
33 #define CONFIG_FILE_NAME "client.cfg"
34 #define CONFIG_DEFAULT_FILE_NAME "client_default.cfg"
36 /////////////////////////////////////////////////////////////////////////////
38 // See client_config.cpp for the implementation of this class
41 class CClientConfigApp
: public CWinApp
47 void error (const ucstring
&message
);
48 bool yesNo (const ucstring
&message
);
55 // ClassWizard generated virtual function overrides
56 //{{AFX_VIRTUAL(CClientConfigApp)
58 virtual BOOL
InitInstance();
63 //{{AFX_MSG(CClientConfigApp)
64 // NOTE - the ClassWizard will add and remove member functions here.
65 // DO NOT EDIT what you see in these blocks of generated code !
70 extern CClientConfigApp theApp
;
72 // Helper to set text in a window
73 // fallback to ascii set if the OS doesn't support unicode (windows 95/98/me)
74 void setWindowText(HWND hwnd
, LPCWSTR lpText
);
78 /////////////////////////////////////////////////////////////////////////////
80 //{{AFX_INSERT_LOCATION}}
81 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
83 #endif // !defined(AFX_CLIENT_CONFIG_H__5ABEECBC_CE23_47C4_BD2F_8EBD81F203F3__INCLUDED_)