Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

ChildFrm.cpp

00001 /* QuestDesigner - Open Zelda's Project
00002    Copyright (C) 2003 Kronuz
00003    Copyright (C) 2001/2003 Open Zelda's Project
00004  
00005    This program is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU General Public License
00007    as published by the Free Software Foundation; either version 2
00008    of the License, or (at your option) any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the Free Software
00017    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00018 */
00019 
00021 // ChildFrm.cpp : implementation of the CChildFrame base class
00022 //
00023 
00024 #include "stdafx.h"
00025 
00026 #include "MainFrm.h"
00027 #include "ChildFrm.h"
00028 
00029 LRESULT CChildFrame::Register(_child_type ChildType)
00030 {
00031     ATLASSERT(m_pMainFrame);
00032     m_pMainFrame->m_ChildList.Add(this);
00033     m_ChildType = ChildType;
00034     return TRUE;
00035 }
00036 LRESULT CChildFrame::Unregister()
00037 {
00038     ATLASSERT(m_pMainFrame);
00039     m_pMainFrame->m_ChildList.Remove(this);
00040     return 0;
00041 }

Generated on Wed Apr 16 19:12:22 2003 for QuestDesigner by doxygen1.2.18