home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / acdf3 / acdfvw3.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  1.3 KB  |  44 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //                         SAMPLE CODE
  3. //
  4. // FileName: ACDFVw3.hpp
  5. //
  6. // ClassName: ACompDocFwkView
  7. //
  8. // Description: Header file for the Compound Document Framework Simple Container View
  9. //              In this sample the view inherits from the IView class 
  10. //              therefore all functionality is inherited from the base class
  11. ///////////////////////////////////////////////////////////////////////////////
  12. #ifndef _COMPDOCFWK_VIEW_
  13. #define _COMPDOCFWK_VIEW_
  14.  
  15. #ifdef IC_TRACE_DEVELOP
  16.     #include <itrace.hpp>
  17. #else
  18.     #define IFUNCTRACE_DEVELOP()
  19.     #define ITRACE_DEVELOP(x)
  20. #endif
  21.  
  22. #include <iview.hpp>
  23.  
  24. class ACompDocFwkView : public IView // Inherit from IView class
  25. {
  26. public:
  27.                         ACompDocFwkView(IGUIBundle& );
  28.     virtual             ~ACompDocFwkView();
  29.  
  30.     virtual void        initialize();
  31.     virtual void        drawContents( IPresSpaceHandle&,
  32.                                       const IRectangle& invalidArea,
  33.                                       Boolean metaFile);
  34.  
  35. protected:
  36.                         ACompDocFwkView(const ACompDocFwkView&);
  37.  
  38. private:
  39.     ACompDocFwkView&    operator=( const ACompDocFwkView& );
  40.  
  41. };
  42. #endif
  43.     
  44.