home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / APXDLGDV.PAK / APXDLGDA.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  2.0 KB  |  76 lines

  1. //----------------------------------------------------------------------------
  2. //  Project ApxDlgDv
  3. //  Borland International
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    ApxDlgDv Application
  7. //  FILE:         apxdlgda.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Class definition for TApxDlgDvApp (TApplication).
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(apxdlgda_h)              // Sentry, use file only if it's not already included.
  16. #define apxdlgda_h
  17.  
  18. #include <owl/controlb.h>
  19. #include <owl/docking.h>
  20. #include <owl/mailer.h>
  21. #include <owl/rcntfile.h>
  22.  
  23.  
  24. #include "apxdlgda.rh"            // Definition of all resources.
  25.  
  26.  
  27. //
  28. // FrameWindow must be derived to override Paint for Preview and Print.
  29. //
  30. //{{TDecoratedFrame = TSDIDecFrame}}
  31. class TSDIDecFrame : public TDecoratedFrame {
  32.   public:
  33.     TSDIDecFrame(TWindow* parent, const char far* title, TWindow* clientWnd, bool trackMenuSelection = false, TModule* module = 0);
  34.     ~TSDIDecFrame();
  35. };    //{{TSDIDecFrame}}
  36.  
  37.  
  38. //{{TApplication = TApxDlgDvApp}}
  39. class TApxDlgDvApp : public TApplication, public TRecentFiles {
  40.   private:
  41.  
  42.     void ProcessCmdLine(char * CmdLine);
  43.     void RegisterInfo();
  44.     void UnRegisterInfo();
  45.  
  46.   public:
  47.     TApxDlgDvApp();
  48.     virtual ~TApxDlgDvApp();
  49.  
  50.     void CreateGadgets(TDockableControlBar* cb, bool server = false);
  51.     THarbor*        ApxHarbor;
  52.  
  53.     TMailer*        ApxMail;
  54.  
  55. //{{TApxDlgDvAppVIRTUAL_BEGIN}}
  56.   public:
  57.     virtual void InitMainWindow();
  58.     virtual void InitInstance();
  59. //{{TApxDlgDvAppVIRTUAL_END}}
  60.  
  61. //{{TApxDlgDvAppRSP_TBL_BEGIN}}
  62.   protected:
  63.     void EvNewView(TView& view);
  64.     void EvCloseView(TView& view);
  65.     void CeFileSend(TCommandEnabler& ce);
  66.     void CmFileSend();
  67.     void CmHelpAbout();
  68.     void EvOwlDocument(TDocument& doc);
  69.     int32 CmFileSelected(uint wp, int32 lp);
  70. //{{TApxDlgDvAppRSP_TBL_END}}
  71. DECLARE_RESPONSE_TABLE(TApxDlgDvApp);
  72. };    //{{TApxDlgDvApp}}
  73.  
  74.  
  75. #endif  // apxdlgda_h sentry.
  76.