Update lua versions
[ryzomcore.git] / nel / tools / misc / branch_patcher / branch_patcher.cpp
bloba9d518f730b2b6186a6f6976491bc05ef2aa1fba
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
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 #include "stdafx.h"
18 #include "branch_patcher.h"
19 #include "branch_patcherDlg.h"
21 #ifdef _DEBUG
22 #define new DEBUG_NEW
23 #undef THIS_FILE
24 static char THIS_FILE[] = __FILE__;
25 #endif
27 /////////////////////////////////////////////////////////////////////////////
28 // CBranch_patcherApp
30 BEGIN_MESSAGE_MAP(CBranch_patcherApp, CWinApp)
31 //{{AFX_MSG_MAP(CBranch_patcherApp)
32 //}}AFX_MSG
33 ON_COMMAND(ID_HELP, CWinApp::OnHelp)
34 END_MESSAGE_MAP()
36 /////////////////////////////////////////////////////////////////////////////
37 // CBranch_patcherApp construction
39 CBranch_patcherApp::CBranch_patcherApp()
43 /////////////////////////////////////////////////////////////////////////////
44 // The one and only CBranch_patcherApp object
46 CBranch_patcherApp theApp;
48 /////////////////////////////////////////////////////////////////////////////
49 // CBranch_patcherApp initialization
51 BOOL CBranch_patcherApp::InitInstance()
53 // Standard initialization
55 CBranch_patcherDlg dlg;
56 m_pMainWnd = &dlg;
57 INT_PTR nResponse = dlg.DoModal();
58 if (nResponse == IDOK)
61 else if (nResponse == IDCANCEL)
65 // Since the dialog has been closed, return FALSE so that we exit the
66 // application, rather than start the application's message pump.
67 return FALSE;