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 / Table / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.8 KB  |  54 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 1 $ 
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. //-------------------------------------------------------------------------------------
  14. // Uncomment the following three lines, and define them appropriately!!
  15. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  16. // to be 1.  Otherwise define it to be 0.
  17. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  18. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  19. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  20. // define it to be zero.  Note that if your part is scriptable is must support
  21. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  22.  
  23. #define FW_SUPPORTS_EMBEDDING     1
  24. #define FW_SUPPORTS_EXTENSIONS     0
  25. #define FW_SUPPORTS_SCRIPTING     0
  26.  
  27. //-------------------------------------------------------------------------------------
  28. // Icons ID
  29. #define kViewAsIconID         145
  30. #define kAboutIconID         147
  31.  
  32. //-------------------------------------------------------------------------------------
  33. // Menus
  34. #define kMenuBar             1024
  35.  
  36. // ----- Menus -----
  37. #ifdef FW_BUILD_WIN
  38. #define kEmbedMenu        6
  39. #endif
  40.  
  41. // ----- Commands -----
  42. #define cHideShowGrid    FW_kFirstUserCommandID
  43.  
  44. //-------------------------------------------------------------------------------------
  45. // About
  46. #define kAbout                 1024
  47.  
  48. //-------------------------------------------------------------------------------------
  49. // Part Info 
  50. #define kPartInfoID         1024
  51.  
  52. #endif
  53.  
  54.