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

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //                      SAMPLE CODE
  3. //
  4. // FileName: ACDFSt5.hpp
  5. //
  6. // ClassName: ACompDocFwkMyStationery
  7. //
  8. // Description: This is the stationery class. The only reason the stationery
  9. //              class is overridden is to override the createBundle class.
  10. //              In the overridden createBundle a ACompDocFwkBundle type 
  11. //              class in created instead of the default IGUIBundle. 
  12. ///////////////////////////////////////////////////////////////////////////////
  13. #ifndef _COMPDOCFWK_STATIONERY_
  14. #define _COMPDOCFWK_STATIONERY_
  15.  
  16. #ifdef IC_TRACE_DEVELOP
  17.     #include <itrace.hpp>
  18. #else
  19.     #define IFUNCTRACE_DEVELOP()
  20.     #define ITRACE_DEVELOP(x)
  21. #endif
  22.  
  23. class ACompDocFwkModel;
  24. class ACompDocFwkView;
  25.  
  26. #include <istatnry.hpp>
  27.  
  28. class ACompDocFwkMyStationery : public IComponentStationeryFor <ACompDocFwkModel,ACompDocFwkView>
  29. {
  30. public:
  31.                             ACompDocFwkMyStationery();
  32.                             ~ACompDocFwkMyStationery();
  33.  
  34.     // only method to  override
  35.     virtual IGUIBundle*     createBundle() const;
  36. };
  37.  
  38.  
  39. #endif
  40.