home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Framewrk / FWPart / Sources / FWContnt.cpp < prev    next >
Encoding:
Text File  |  1996-08-16  |  3.0 KB  |  101 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWContnt.cpp
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #include "FWFrameW.hpp"
  11.  
  12. #ifndef FWCONTNT_H
  13. #include "FWContnt.h"
  14. #endif
  15.  
  16. #ifndef FWDEBUG_H
  17. #include "FWDebug.h"
  18. #endif
  19.  
  20. //========================================================================================
  21. // RunTime Info
  22. //========================================================================================
  23.  
  24. #ifdef FW_BUILD_MAC
  25. #pragma segment FWFrameworkContent
  26. #endif
  27.  
  28. //========================================================================================
  29. //    class FW_CContent
  30. //========================================================================================
  31.  
  32. //----------------------------------------------------------------------------------------
  33. //    FW_CContent constructor
  34. //----------------------------------------------------------------------------------------
  35.  
  36. FW_CContent::FW_CContent(Environment* ev, FW_CPart* part) :
  37.     fPart(part)
  38. {
  39. FW_UNUSED(ev);
  40. }
  41.  
  42. //----------------------------------------------------------------------------------------
  43. //    FW_CContent destructor
  44. //----------------------------------------------------------------------------------------
  45.  
  46. FW_CContent::~FW_CContent()
  47. {
  48. }
  49.  
  50. //----------------------------------------------------------------------------------------
  51. //    FW_CContent::CreateDataFrameShape
  52. //----------------------------------------------------------------------------------------
  53.  
  54. ODShape* FW_CContent::CreateDataFrameShape(Environment* ev) const
  55. {
  56. FW_UNUSED(ev);
  57.     return NULL;
  58. }
  59.  
  60. //----------------------------------------------------------------------------------------
  61. //    FW_CContent::ReleaseAll
  62. //----------------------------------------------------------------------------------------
  63.  
  64. void FW_CContent::ReleaseAll(Environment* ev)
  65. {
  66. FW_UNUSED(ev);
  67. }
  68.  
  69. //----------------------------------------------------------------------------------------
  70. //    FW_CContent::Externalize
  71. //----------------------------------------------------------------------------------------
  72.  
  73. void FW_CContent::Externalize(Environment* ev,
  74.                             ODStorageUnit* storageUnit,
  75.                             FW_EStorageKinds storageKind,
  76.                             FW_CCloneInfo* cloneInfo)
  77. {
  78. FW_UNUSED(ev);
  79. FW_UNUSED(storageUnit);
  80. FW_UNUSED(storageKind);
  81. FW_UNUSED(cloneInfo);
  82.     FW_DEBUG_MESSAGE("You need to override FW_CContent::Externalize");
  83. }
  84.  
  85. //----------------------------------------------------------------------------------------
  86. //    FW_CContent::Internalize
  87. //----------------------------------------------------------------------------------------
  88.  
  89. FW_Boolean FW_CContent::Internalize(Environment* ev,
  90.                                     ODStorageUnit* storageUnit, 
  91.                                     FW_EStorageKinds storageKind,
  92.                                     FW_CCloneInfo* cloneInfo)
  93. {
  94. FW_UNUSED(ev);
  95. FW_UNUSED(storageUnit);
  96. FW_UNUSED(storageKind);
  97. FW_UNUSED(cloneInfo);
  98.     FW_DEBUG_MESSAGE("You need to override FW_CContent::Internalize");
  99.     return FALSE;
  100. }
  101.