khanat-opennel-code/code/nel/tools/misc/branch_patcher/branch_patcher.cpp
2016-01-24 17:08:32 +01:00

68 lines
2 KiB
C++

// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
#include "branch_patcher.h"
#include "branch_patcherDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBranch_patcherApp
BEGIN_MESSAGE_MAP(CBranch_patcherApp, CWinApp)
//{{AFX_MSG_MAP(CBranch_patcherApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBranch_patcherApp construction
CBranch_patcherApp::CBranch_patcherApp()
{
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CBranch_patcherApp object
CBranch_patcherApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CBranch_patcherApp initialization
BOOL CBranch_patcherApp::InitInstance()
{
// Standard initialization
CBranch_patcherDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
}
else if (nResponse == IDCANCEL)
{
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;
}