[GME-commit] GMESRC/GME/Gme MainFrm.h,1.21,1.22 MainFrm.cpp,1.26,1.27

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Thu Dec 2 16:01:39 CST 2004


Update of /var/lib/gme/GMESRC/GME/Gme
In directory braindrain:/tmp/cvs-serv12509

Modified Files:
	MainFrm.h MainFrm.cpp 
Log Message:
console scripting

CVS User: bogyom

Index: MainFrm.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/MainFrm.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** MainFrm.h	29 Oct 2004 17:34:33 -0000	1.21
--- MainFrm.h	2 Dec 2004 22:01:36 -0000	1.22
***************
*** 81,84 ****
--- 81,85 ----
  #endif
  	CPanningWindow	m_pannWin;
+ 	CGMEConsole	m_console;
  
  
***************
*** 92,96 ****
  	CGMEBrowser	    m_browser;
  	CGMEObjectInspector	m_objectInspector;
- 	CGMEConsole	m_console;
  	CGMESearch		m_search;
  
--- 93,96 ----
***************
*** 118,121 ****
--- 118,122 ----
  	afx_msg void OnViewRefreshSourcecontrol();
  	afx_msg void OnUpdateViewRefreshSourcecontrol(CCmdUI* pCmdUI);
+ 	afx_msg void CMainFrame::OnClose();
  	//}}AFX_MSG
  	DECLARE_MESSAGE_MAP()

Index: MainFrm.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/MainFrm.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** MainFrm.cpp	29 Oct 2004 17:34:33 -0000	1.26
--- MainFrm.cpp	2 Dec 2004 22:01:36 -0000	1.27
***************
*** 78,81 ****
--- 78,82 ----
  	ON_COMMAND(ID_VIEW_REFRESH_SOURCECONTROL, OnViewRefreshSourcecontrol)
  	ON_UPDATE_COMMAND_UI(ID_VIEW_REFRESH_SOURCECONTROL, OnUpdateViewRefreshSourcecontrol)
+ 	ON_WM_CLOSE()
  	//}}AFX_MSG_MAP
  END_MESSAGE_MAP()
***************
*** 100,103 ****
--- 101,110 ----
  }
  
+ 
+ void CMainFrame::OnClose()
+ {
+ 	m_console.SetGMEApp(NULL); // ???? 
+ 	CFrameWnd::OnClose();
+ }
  
  int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)



More information about the GME-commit mailing list