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 // VariableParser.cpp : Defines the class behaviors for the application.
21 #include "variable_parser.h"
22 #include "variable_parserDlg.h"
27 static char THIS_FILE[] = __FILE__;
32 /////////////////////////////////////////////////////////////////////////////
35 BEGIN_MESSAGE_MAP(CVariableParserApp
, CWinApp
)
36 //{{AFX_MSG_MAP(CVariableParserApp)
37 // NOTE - the ClassWizard will add and remove mapping macros here.
38 // DO NOT EDIT what you see in these blocks of generated code!
40 ON_COMMAND(ID_HELP
, CWinApp::OnHelp
)
43 /////////////////////////////////////////////////////////////////////////////
44 // CVariableParserApp construction
46 CVariableParserApp::CVariableParserApp()
48 // TODO: add construction code here,
49 // Place all significant initialization in InitInstance
52 /////////////////////////////////////////////////////////////////////////////
53 // The one and only CVariableParserApp object
55 CVariableParserApp theApp
;
57 /////////////////////////////////////////////////////////////////////////////
58 // CVariableParserApp initialization
60 BOOL
CVariableParserApp::InitInstance()
62 AfxEnableControlContainer();
64 // Standard initialization
65 // If you are not using these features and wish to reduce the size
66 // of your final executable, you should remove from the following
67 // the specific initialization routines you do not need.
70 Enable3dControls(); // Call this when using MFC in a shared DLL
72 Enable3dControlsStatic(); // Call this when linking to MFC statically
75 CVariableParserDlg dlg
;
77 int nResponse
= dlg
.DoModal();
78 if (nResponse
== IDOK
)
80 // TODO: Place code here to handle when the dialog is
83 else if (nResponse
== IDCANCEL
)
85 // TODO: Place code here to handle when the dialog is
86 // dismissed with Cancel
89 // Since the dialog has been closed, return FALSE so that we exit the
90 // application, rather than start the application's message pump.