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

harlemapp_mfc.h

Go to the documentation of this file.
00001 
00009 #if !defined(HARLEMAPP_MFC_H)
00010 #define HARLEMAPP_MFC_H
00011 
00012 #ifndef __AFXWIN_H__
00013         #error include 'stdafx.h' before including this file for PCH
00014 #endif
00015 
00016 #include "resource.h"           // main symbols
00017 #include "win_dialogs_2.h"
00018 
00019 #include "harlemapp.h"
00020 
00021 class HaMolSetDocTemplate: public CMultiDocTemplate
00022 {
00023 public: 
00024         HaMolSetDocTemplate( UINT nIDResource, CRuntimeClass* pDocClass, 
00025                        CRuntimeClass* pFrameClass, CRuntimeClass* pViewClass );
00026         
00027         virtual CFrameWnd* CreateNewFrame( CDocument* pDoc, CFrameWnd* pOther ); 
00028 
00029 };
00030 
00031 
00032 
00033 class CHarlemAppMFC : public CWinApp, public HarlemApp
00034 {
00035 public:
00036         CHarlemAppMFC();
00037         virtual ~CHarlemAppMFC();
00038 
00039         CMultiDocTemplate* pDocTemplateMolSet;
00040         CMultiDocTemplate* pDocTemplateResDB;
00041 
00042 
00043 // Overrides
00044         // ClassWizard generated virtual function overrides
00045         //{{AFX_VIRTUAL(CHarlemAppMFC)
00046         public:
00047         virtual BOOL InitInstance();
00048         virtual BOOL OnDDECommand( LPTSTR lpszCommand );
00049         virtual CDocument* OpenDocumentFile( LPCTSTR lpszFileName );
00050         //}}AFX_VIRTUAL
00051 
00052     // Override this to provide wxWindows message loop
00053     // compatibility
00054     virtual BOOL PreTranslateMessage(MSG *msg);
00055     virtual BOOL OnIdle(LONG lCount);
00056 
00057 // Implementation
00058 
00059         //{{AFX_MSG(CHarlemAppMFC)
00060         afx_msg void OnFileOpen();
00061         afx_msg void OnFileNew();
00062         afx_msg void DoEditScriptDialog();
00063         afx_msg void DoCompAccountsDialog();
00064         afx_msg void DoRedirectIODialog();
00065         afx_msg void OnTestMin1();
00066         afx_msg void OnShowResDb();
00067         afx_msg void OnTestGraph1();
00068         afx_msg void OnTestWx1();
00069         //}}AFX_MSG
00070 
00071         afx_msg void OnInfo();
00072         afx_msg void OnClose();
00073         afx_msg void OnPrint();
00074         afx_msg void OnSetup();
00075         afx_msg void OnExit();
00076         afx_msg void DoEditSelectDialog();
00077         afx_msg void DoEditRedoxDialog();
00078         afx_msg void DoLoadScriptDialog();
00079         afx_msg void OnAbout();
00080         afx_msg void OnHelp();
00081 
00082         afx_msg void OnCalcPolarGcontr()   { calc_polar_gcontr();    }
00083         afx_msg void OnSaveGrpOperMat()    { save_grp_oper_mat();    }
00084         afx_msg void OnCalcPolarContrF()   { calc_polar_contr_f();   }
00085         afx_msg void OnReadPolarContr()    { read_polar_contr();     } 
00086         afx_msg void OnCalcBetaContr2idx() { calc_beta_contr_2idx(); }
00087         afx_msg void OnReadBetaContr2idx() { read_beta_contr_2idx(); }
00088         afx_msg void OnTestOper1()         { test_oper_1();          }
00089         afx_msg void OnTestOper2()         { test_oper_2();          }
00090         afx_msg void OnTestQCmod1()        { test_qcmod_1();         }
00091         afx_msg void OnDumpMolInfo()       { dump_mol_info();        }
00092         afx_msg void OnDumpGaussBCommon()  { dump_gauss_bcommon();   }
00093         afx_msg void OnDumpOverlap()       { dump_overlap();         }
00094         afx_msg void OnDumpOverlap2()      { dump_overlap2();         }
00095         afx_msg void OnLoadManual();
00096     afx_msg void OnMolConnect2();
00097         afx_msg void OnWorldConnect2();
00098    
00099         DECLARE_MESSAGE_MAP()
00100 
00101 public:
00102 
00103         virtual void Exit() {}
00104 
00105         static char *RegisterFormat(char* buffer,char* desc,char* ext );
00106 
00107 
00108 
00109 };
00110 
00112 
00113 //{{AFX_INSERT_LOCATION}}
00114 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
00115 
00116 
00117 #if defined(HARLEMAPP_MFC_CPP)
00118 CHarlemAppMFC theApp;
00119 #else
00120 extern CHarlemAppMFC theApp;
00121 #endif
00122 
00123 
00124 
00125 #endif // !defined(HARLEMAPP_MFC_H)

Generated on Tue Feb 17 02:03:06 2004 for harlem by doxygen 1.3.6