home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / bento / headers / plfmdef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-02  |  3.6 KB  |  102 lines

  1. /*
  2.     File:        PlfmDef.h
  3.  
  4.     Contains:    Platform specific definitions
  5.  
  6.     Written by:    Vincent Lo
  7.  
  8.     Copyright:    ⌐ 1993 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.         <25>      2/7/94    JA        Define ppcinterfaces for benefit of GX
  13.                                     headers.
  14.         <24>      2/1/94    JA        Added PLATFORM_MACINTOSH.
  15.         <23>     1/21/94    CC        Added XMPMacLinkSource.
  16.         <22>    12/15/93    NP        Added XMPMacUndo.
  17.         <21>    12/14/93    VL        Added XMPNVMethod.
  18.         <20>     12/8/93    RR        Removed XMPWindowIterator
  19.         <19>    11/15/93    NP        Changed XMPSymbols to XMPNameSpaceManager.
  20.         <18>    11/12/93    JBS        added XMPFacet, removed XMPLayout*
  21.         <17>    11/10/93    CC        Added define for XMPLinkSpec
  22.         <16>     9/10/93    RR        Added XMPMenuBar
  23.         <15>      9/3/93    JBS        added XMPLayoutFrameIterator
  24.         <15>     8/20/93    JBS        Added XMPLayout
  25.         <14>     7/21/93    NP        Added pascal and static #defines.
  26.         <13>      7/6/93    JBS        Added XMPCanvas, XMPShape, XMPTransform
  27.         <12>      7/6/93    PH        Add XMPStorageSystem
  28.         <11>      7/2/93    CG        Added SemtIntf, MssgIntf, NamRslvr.
  29.         <10>      7/2/93    NP        Added NamSpace.
  30.          <9>      7/1/93    VL        Added XMPClipboard, XMPDragAndDrop,
  31.                                     XMPTranslation.
  32.          <8>      7/1/93    NP        Added XMPLink to #defines.
  33.          <6>     6/29/93    RCR        Added Define for XMPMacWindow.
  34.          <5>     6/24/93    RCR        Added Define for XMPMacDispatcher.
  35.          <4>     6/17/93    VL        Changed XMPUnused.
  36.          <3>     4/29/93    VL        8.3 Name Change.
  37.          <2>     4/12/93    VL        Added XMPUnused.
  38.          <1>      4/6/93    VL        first checked in
  39.  
  40.     To Do:
  41. */
  42.  
  43. #ifndef _PLFMDEF_
  44. #define _PLFMDEF_
  45.  
  46. //==============================================================================
  47. // Configuration
  48. //==============================================================================
  49.  
  50. #define PLATFORM_MACINTOSH 1    /* This is the Mac implementation */
  51.  
  52. // The QuickDraw GX headers want this symbol to be defined if the universal
  53. // interfaces are being used.
  54. #ifndef ppcinterfaces
  55. #define ppcinterfaces 1
  56. #endif
  57.  
  58. //==============================================================================
  59. // Macros
  60. //==============================================================================
  61.  
  62. #define    XMPMethod    virtual    
  63. #define XMPVMethod    virtual
  64. #define XMPNVMethod
  65. #define XMPPascal    pascal
  66. #define XMPStatic    static
  67.  
  68. //------------------------------------------------------------------------------
  69. //
  70. // XMPUnused is for parameters not used in a function. It is similar to 
  71. // #pragma unused. As a matter of fact, XMPUnused can be a pragma statement
  72. // when it functions correctly in C++. For the time being, we have this little 
  73. // macro to get rid of the compiler warnings. Please use this macro instead of
  74. // commenting out the parameter name.
  75.  
  76. #define XMPUnused(x)    ((void) &x)
  77.  
  78. #define XMPDispatcher             XMPMacDispatcher
  79. #define XMPWindow                 XMPMacWindow
  80. #define XMPMenuBar                 XMPMacMenuBar
  81. #define XMPDragAndDrop             XMPMacDragAndDrop
  82. #define XMPTranslation             XMPMacTranslation
  83. #define XMPClipboard             XMPMacClipboard
  84. #define XMPStorageSystem        XMPMacStorageSystem
  85. #define XMPWindowState             XMPMacWindowState
  86. #define XMPLink                 XMPMacLink
  87. #define XMPLinkSource             XMPMacLinkSource
  88. #define XMPLinkSpec             XMPMacLinkSpec
  89. #define XMPNameSpace             XMPMacNameSpace
  90. #define XMPNameSpaceManager     XMPMacNameSpaceManager
  91. #define XMPValueIterator         XMPMacValueIterator
  92. #define XMPSemanticInterface    XMPMacSemanticInterface
  93. #define XMPMessageInterface        XMPMacMessageInterface
  94. #define XMPNameResolver            XMPMacNameResolver
  95. #define XMPCanvas                XMPMacCanvas
  96. #define XMPShape                XMPMacShape
  97. #define XMPTransform            XMPMacTransform
  98. #define XMPFacet                XMPMacFacet
  99. #define XMPUndo                    XMPMacUndo
  100.  
  101. #endif    // _PLFMDEF_
  102.