home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / ole / wizmodel.ht < prev    next >
Encoding:
Text File  |  1996-02-21  |  1.7 KB  |  65 lines

  1. --------------------------------------------------------------------------------
  2. -- FILE NAME: WIZMODEL.HT
  3. --
  4. -- DESCRIPTION:
  5. --   OLE Compound Document Framework Model file template
  6. --
  7. -- COPYRIGHT:
  8. --   IBM WorkFrame - Project Smarts
  9. --   (C) Copyright International Business Machines Corporation 1996
  10. --   Licensed Material - Program-Property of IBM - All Rights Reserved.
  11. --   US Government Users Restricted Rights - Use, duplication, or disclosure
  12. --   restricted by GSA ADP Schedule Contract with IBM Corp.
  13. --
  14. --------------------------------------------------------------------------------
  15. <include wizclass.ht>
  16. --
  17. --
  18. --------------------------------------------------------------------------------
  19. -- Model Class
  20. --------------------------------------------------------------------------------
  21. <code MODEL>
  22. <define FILE_HDR_INCLUDES>
  23. <if ($COMPONENT_TYPE$ == Server)>
  24. #include <imodel.hpp>
  25. <else>
  26. #include <iembmod.hpp>
  27. </if>
  28.  
  29. </define>
  30. <define CLASS_NAME>$MODEL_CLASS_NAME$\</define>
  31. <define PROTECT_COPY>t\</define>
  32. $STREAMING$\<>
  33. <define PUBLIC_MEMBERS>
  34.  
  35.     /////////////////////////////////////////
  36.     //  ADD your public member functions here
  37.     /////////////////////////////////////////
  38. </define>
  39. <define PRIVATE_MEMBERS>
  40.  
  41.     /////////////////////////////////////////
  42.     //  ADD your data members here
  43.     /////////////////////////////////////////
  44.     
  45. </define>
  46. </code MODEL>
  47.  
  48. -----------------------------------
  49. -- Model direct descendent template
  50. -----------------------------------
  51. <code MODEL_DIRECT>
  52. <define CLASS_SUPERS>
  53. <if ($COMPONENT_TYPE$ == Server)>
  54. IModel\<>
  55. </if>
  56. <if ($COMPONENT_TYPE$ != Server)>
  57. IEmbedderModel\<>
  58. </if>
  59. </define>
  60. $MODEL$\<>
  61. </code MODEL_DIRECT>
  62.  
  63. <code DATA_CLASS>
  64. </code>
  65.