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

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //                                              SAMPLE CODE
  3. //
  4. // FileName: ACDFSt2.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.     // only method to  override
  34.     virtual IGUIBundle*     createBundle() const;
  35. };
  36.  
  37.  
  38. #endif
  39.