home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ViewTester / Sources / Dialog.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.6 KB  |  69 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Dialog.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DIALOG_H
  11. #define DIALOG_H
  12.  
  13. #ifndef FWFRAME_H
  14. #include "FWFrame.h"
  15. #endif
  16.  
  17. #ifndef FWEVENT_H
  18. #include "FWEvent.h"
  19. #endif
  20.  
  21. #ifndef FWDIALOG_H
  22. #include "FWDialog.h"
  23. #endif
  24.  
  25. #ifndef FWEDVIEW_H
  26. #include "FWEdView.h"
  27. #endif
  28.  
  29. #ifndef DEFINES_K
  30. #include "Defines.k"
  31. #endif
  32.  
  33. //==============================================================================
  34. // Forward Declarations
  35. //==============================================================================
  36.  
  37. class CViewTesterPart;
  38. class CViewTesterFrame;
  39.  
  40. //==============================================================================
  41. // class CDialogFrame
  42. //==============================================================================
  43.  
  44. class CDialogFrame : public FW_CDialogFrame
  45. {
  46.   public:
  47.     FW_DECLARE_AUTO(CDialogFrame)
  48.  
  49.     CDialogFrame(Environment* ev, 
  50.                 ODFrame* odFrame, 
  51.                 FW_CPresentation* presentation, 
  52.                 CViewTesterPart* part);
  53.  
  54.     virtual ~CDialogFrame();
  55.  
  56.   public:    
  57.     // ---- inherited API
  58.     virtual void         HandleNotification(Environment* ev, const FW_CNotification& notification);
  59. //    virtual void         Draw(Environment* ev, ODFacet* odFacet, ODShape* invalidShape);
  60.  
  61.     // -----New API
  62.     void                 Initialize(Environment* ev);
  63.     short                 GetResourceID(Environment* ev, const FW_CString& resName);
  64.     
  65. };
  66.  
  67.  
  68. #endif
  69.