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

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //                      SAMPLE CODE
  3. //
  4. // FileName: ACDFSt4.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.  
  29. class ACompDocFwkMyStationery : public IComponentStationeryFor <ACompDocFwkModel,ACompDocFwkView>
  30. {
  31. public:
  32.                                         ACompDocFwkMyStationery();
  33.                                         ~ACompDocFwkMyStationery();
  34.  
  35.     // only method to  override
  36.     virtual IGUIBundle*                 createBundle() const;
  37. };
  38.  
  39.  
  40. #endif
  41.