Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / tools / client / client_config / client_config.h
blobcdbc015d1733cd05b6ae85af5eb1e1a3251ff563
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
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.
8 //
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_
23 #if _MSC_VER > 1000
24 #pragma once
25 #endif // _MSC_VER > 1000
27 #ifndef __AFXWIN_H__
28 #error include 'stdafx.h' before including this file for PCH
29 #endif
31 #include "resource.h" // main symbols
33 #define CONFIG_FILE_NAME "client.cfg"
34 #define CONFIG_DEFAULT_FILE_NAME "client_default.cfg"
36 /////////////////////////////////////////////////////////////////////////////
37 // CClientConfigApp:
38 // See client_config.cpp for the implementation of this class
41 class CClientConfigApp : public CWinApp
43 public:
44 CClientConfigApp();
46 // Error message
47 void error (const ucstring &message);
48 bool yesNo (const ucstring &message);
50 // Data modified ?
51 bool Modified;
52 bool Localized;
54 // Overrides
55 // ClassWizard generated virtual function overrides
56 //{{AFX_VIRTUAL(CClientConfigApp)
57 public:
58 virtual BOOL InitInstance();
59 //}}AFX_VIRTUAL
61 // Implementation
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 !
66 //}}AFX_MSG
67 DECLARE_MESSAGE_MAP()
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_)