home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DU Projects / Graphics3D / Sources / Content.cpp < prev    next >
Encoding:
Text File  |  1996-08-22  |  1.8 KB  |  68 lines  |  [TEXT/CWIE]

  1. //    Release Version:    $ ODF 2 $
  2. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  3.  
  4. //========================================================================================
  5. #include "Graphics3D.hpp"
  6.  
  7. #ifndef CONTENT_H
  8. #include "Content.h"
  9. #endif
  10.  
  11. #ifndef PART_H
  12. #include "Part.h"
  13. #endif
  14.  
  15. //========================================================================================
  16. #ifdef FW_BUILD_MAC
  17. #pragma segment Graphics3D
  18. #endif
  19.  
  20. //========================================================================================
  21. FW_DEFINE_AUTO(CGraphics3DContent)
  22.  
  23. //----------------------------------------------------------------------------------------
  24. CGraphics3DContent::CGraphics3DContent(Environment* ev, CGraphics3DPart* part)
  25.     : FW_CContent(ev, part)
  26. {
  27. }
  28.  
  29. //----------------------------------------------------------------------------------------
  30. CGraphics3DContent::~CGraphics3DContent()
  31. {
  32. }
  33.  
  34. //----------------------------------------------------------------------------------------
  35. void 
  36. CGraphics3DContent::ExternalizeKind(Environment* ev,
  37.                                 ODStorageUnit* storageUnit,
  38.                                 FW_CKind* kind,
  39.                                 FW_StorageKinds storageKind,
  40.                                 FW_CPromise* promise,
  41.                                 FW_CCloneInfo* cloneInfo)
  42. {
  43.     FW_UNUSED(ev);
  44.     FW_UNUSED(storageUnit);
  45.     FW_UNUSED(kind);
  46.     FW_UNUSED(storageKind);
  47.     FW_UNUSED(promise);
  48.     FW_UNUSED(cloneInfo);
  49. }
  50.  
  51. //----------------------------------------------------------------------------------------
  52. FW_Boolean 
  53. CGraphics3DContent::InternalizeKind(Environment* ev,
  54.                                 ODStorageUnit* storageUnit, 
  55.                                 FW_CKind* kind,
  56.                                 FW_StorageKinds storageKind,
  57.                                 FW_CCloneInfo* cloneInfo)
  58. {
  59.     FW_UNUSED(ev);
  60.     FW_UNUSED(storageUnit);
  61.     FW_UNUSED(kind);
  62.     FW_UNUSED(storageKind);
  63.     FW_UNUSED(cloneInfo);
  64.     FW_Boolean internalized = false;
  65.     return internalized;
  66. }
  67.  
  68.