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 // dialog_mode.cpp : implementation file
21 #include "mission_compiler_fe.h"
22 #include "dialog_mode.h"
24 /////////////////////////////////////////////////////////////////////////////
28 CDialogMode::CDialogMode(CWnd
* pParent
/*=NULL*/)
29 : CDialog(CDialogMode::IDD
, pParent
)
32 //{{AFX_DATA_INIT(CDialogMode)
33 // NOTE: the ClassWizard will add member initialization here
38 void CDialogMode::DoDataExchange(CDataExchange
* pDX
)
40 CDialog::DoDataExchange(pDX
);
41 //{{AFX_DATA_MAP(CDialogMode)
42 // NOTE: the ClassWizard will add DDX and DDV calls here
47 BEGIN_MESSAGE_MAP(CDialogMode
, CDialog
)
48 //{{AFX_MSG_MAP(CDialogMode)
49 ON_BN_CLICKED(ID_MODE_COMPILE
, OnModeCompile
)
50 ON_BN_CLICKED(ID_MODE_PUBLISH
, OnModePublish
)
54 /////////////////////////////////////////////////////////////////////////////
55 // CDialogMode message handlers
57 void CDialogMode::OnModeCompile()
61 this->EndDialog(IDOK
);
64 void CDialogMode::OnModePublish()
68 this->EndDialog(IDOK
);