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

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //                      SAMPLE CODE
  3. //
  4. // FileName: ACDFMdl4.hpp
  5. //
  6. // ClassName: ACompDocFwkModel
  7. //
  8. // Description: Compound Document Framework header file for the model container
  9. //                     This sample container model conatins no data of its own
  10. //                     Basic functionality is inherited from the base class.
  11. ///////////////////////////////////////////////////////////////////////////////
  12. #ifndef _COMPDOCFWK_MODEL_
  13. #define _COMPDOCFWK_MODEL_
  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 <iembmod.hpp>
  23.  
  24. // For the container inherit from the emdedder class
  25. class ACompDocFwkModel : public IEmbedderModel   
  26. {
  27. public:
  28.       TypeExtensionDeclarationsMacro(ACompDocFwkModel)
  29.  
  30.                                 ACompDocFwkModel();
  31.       virtual                   ~ACompDocFwkModel();
  32.  
  33.       virtual IBaseStream&      operator>>=( IBaseStream& towhere ) const;
  34.       virtual IBaseStream&      operator<<=( IBaseStream& fromwhere );
  35.  
  36. protected:
  37.                                 ACompDocFwkModel( const ACompDocFwkModel&);
  38.  
  39. private:
  40.       enum                      { kOriginalVersion };
  41.       ACompDocFwkModel&          operator=(const ACompDocFwkModel&);
  42. };
  43.  
  44. #endif
  45.       
  46.