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 / OpenDoc Development / Debugging Support / OpenDoc Source Code / Utilities / Interfaces / ODNewObj.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-22  |  548 b   |  37 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ODNewObj.h
  3.  
  4.     Contains:    Abstract wrapper for instantiating objects by class-name
  5.  
  6.     Owned by:    Jens Alfke
  7.  
  8.     Copyright:    © 1994 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10. */
  11.  
  12. #ifndef _ODNEWOBJ_
  13. #define _ODNEWOBJ_
  14.  
  15. #ifndef _ODTYPES_
  16. #include "ODTypes.h"
  17. #endif
  18.  
  19. class SOMObject;
  20.  
  21. #ifdef _OD_IMPL_SHARE_UTILS_
  22. #pragma import on
  23. #endif
  24.  
  25. extern "C" {
  26.  
  27.     SOMObject*    ODNewObject( const char *className );
  28.     
  29.     ODBoolean    ODClassExists( const char *className );
  30.  
  31.  
  32. #ifdef _OD_IMPL_SHARE_UTILS_
  33. #pragma import off
  34. #endif
  35.  
  36. #endif /*ODNEWOBJ*/