home *** CD-ROM | disk | FTP | other *** search
-
- /********************************************************************
- *
- * Source File: mainapp.h
- * Author: RC
- * Module: C++ Header file for travel application
- * Program Desc:
- * Date: Fri Apr 05 14:06:00 1996
- * Language: MFC C++ 3.0
- *
- ********************************************************************/
-
-
- #ifndef __MAINAPP__H
- #define __MAINAPP__H
-
- //Regen_Main_Classes
-
- class CIDO;
- #define IDC_IDO1 701
-
- typedef struct
- {
- long lDistance;
- char szNamePrevious[99+1];
- char szNamePreviousLine[99+1];
- } USERDATA, FAR * LPUSERDATA;
-
- //Regen_Main_Classes
-
- // --------------- Main Window Object ---------------
-
- class Ctravel : public CWinApp
- {
- public:
- virtual BOOL InitInstance();
- virtual BOOL ExitInstance();
- //Regen_AppClass
- //Regen_AppClass
- };
-
- //Regen_WinApp
- //Regen_WinApp
-
- // --------------- Main Window Dialog of the application -------------------
-
- class CMainWindow : public CDialog
- {
- private:
- //Regen_CMainDlgWin_Private
-
- public:
- CIDO * m_pIDO;
-
- //Regen_CMainDlgWin_Private
-
- public:
- CMainWindow(UINT nIDTemplateName, CWnd *ParentWnd);
- ~CMainWindow();
-
- afx_msg void OnClose();
-
- //{{AFX_MSG(CMainWindow)
-
- afx_msg void OnIDM_SHORTESTDISTANCE();
- afx_msg void OnIDM_FILE_PRINT();
- afx_msg void OnIDM_APP_EXIT();
- afx_msg void OnIDM_ABOUT();
- afx_msg LRESULT Onidomnentityaddrequest(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT Onidomnrelationadded(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT Onidomnrelationaddrequest(WPARAM wParam, LPARAM lParam);
- afx_msg void OnDestroy();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- virtual BOOL OnInitDialog();
- virtual void PostNcDestroy();
- //}}AFX_MSG
- //Regen_MainClassMsg
- //Regen_MainClassMsg
-
- CMenu* pMenu;
-
-
- //Regen_MainClass
- //Regen_MainClass
-
- DECLARE_MESSAGE_MAP()
- };
-
- #endif // __MAINAPP__H
- //Regen_CustomCode
- //Regen_CustomCode
-
-