1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
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/>.
18 #include "branch_patcher.h"
19 #include "branch_patcherDlg.h"
24 static char THIS_FILE
[] = __FILE__
;
27 /////////////////////////////////////////////////////////////////////////////
30 BEGIN_MESSAGE_MAP(CBranch_patcherApp
, CWinApp
)
31 //{{AFX_MSG_MAP(CBranch_patcherApp)
33 ON_COMMAND(ID_HELP
, CWinApp::OnHelp
)
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
;
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.