home *** CD-ROM | disk | FTP | other *** search
- #if !defined(__frstppap_h) // Sentry, use file only if it's not already included.
- #define __frstppap_h
-
- /* Project firstapp
-
- Copyright ⌐ 1993. All Rights Reserved.
-
- SUBSYSTEM: firstapp.exe Application
- FILE: frstppap.h
- AUTHOR:
-
-
- OVERVIEW
- ========
- Class definition for firstappApp (TApplication).
- */
-
-
- #include <owl\owlpch.h>
- #pragma hdrstop
-
- #include <owl\editfile.h>
- #include <owl\opensave.h>
-
- #include "frstppap.rh" // Definition of all resources.
- #include "tdocdlg.h"
-
- //{{TApplication = firstappApp}}
- class firstappApp : public TApplication {
- private:
- TEditFile *Client; // Client window for the frame.
- TOpenSaveDialog::TData FileData; // Data to control open/saveas standard dialog.
- TDocDlg* DocDlg;
- public:
- firstappApp ();
- virtual ~firstappApp ();
-
- long AppHand, Revision;
- void OpenFile (const char *fileName = 0);
- //{{firstappAppVIRTUAL_BEGIN}}
- public:
- virtual void InitMainWindow();
- virtual void InitInstance ();
- //{{firstappAppVIRTUAL_END}}
-
- //{{firstappAppRSP_TBL_BEGIN}}
- protected:
- void CmFileNew ();
- void CmFileOpen ();
- void CmFileClose ();
- void CmHelpAbout ();
- void CmExit ();
- //{{firstappAppRSP_TBL_END}}
- DECLARE_RESPONSE_TABLE(firstappApp);
- }; //{{firstappApp}}
-
-
- #endif // __frstppap_h sentry.
-