home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / PLFMDEF.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  3KB  |  82 lines

  1. //====START_GENERATED_PROLOG======================================
  2. //
  3. //
  4. //   COMPONENT_NAME: odutils
  5. //
  6. //   CLASSES: none
  7. //
  8. //   ORIGINS: 82,27
  9. //
  10. //
  11. //   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  12. //   All Rights Reserved
  13. //   Licensed Materials - Property of IBM
  14. //   US Government Users Restricted Rights - Use, duplication or
  15. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  16. //       
  17. //   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. //   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. //   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  20. //   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  21. //   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  22. //   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  23. //   OR PERFORMANCE OF THIS SOFTWARE.
  24. //
  25. //====END_GENERATED_PROLOG========================================
  26. //
  27. // @(#) 1.8 com/src/utils/include/PlfmDef.h, odutils, od96os2, odos29646d 7/15/96 18:01:43 [ 11/15/96 15:29:01 ]
  28. /*
  29.     File:        PlfmDef.h
  30.  
  31.     Contains:    Platform specific definitions
  32.  
  33.     Written by:    Richard Rodseth
  34.  
  35.     Copyright:    ⌐ 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  36.  
  37. */
  38.  
  39. #ifndef _PLFMDEF_
  40. #define _PLFMDEF_
  41.  
  42. #if !defined(_PLATFORM_WIN32_) && !defined(_PLATFORM_OS2_) && !defined(_PLATFORM_UNIX_)
  43. #ifndef __LOWMEM__
  44. #include <LowMem.h>
  45. #endif
  46. #endif // !defined(_PLATFORM_WIN32_) && !defined(_PLATFORM_OS2_) && !defined(_PLATFORM_UNIX_)
  47.  
  48. //==============================================================================
  49. // Macros
  50. //==============================================================================
  51.  
  52. #define    ODMethod    virtual    
  53. #define ODVMethod    virtual
  54. #define ODNVMethod
  55. #define ODPascal    pascal
  56. #define ODStatic    static
  57.  
  58. //------------------------------------------------------------------------------
  59. //
  60. // ODUnused is for parameters not used in a function. It is similar to 
  61. // #pragma unused. As a matter of fact, ODUnused can be a pragma statement
  62. // when it functions correctly in C++. For the time being, we have this little 
  63. // macro to get rid of the compiler warnings. Please use this macro instead of
  64. // commenting out the parameter name.
  65.  
  66. #define ODUnused(x)    ((void) &x)
  67.  
  68. //==============================================================================
  69. // Globals
  70. //==============================================================================
  71.  
  72. #if !defined(_PLATFORM_WIN32_) && !defined(_PLATFORM_OS2_) && !defined(_PLATFORM_UNIX_)
  73. #pragma lib_export on
  74. extern QDGlobals * const gODQD;
  75. #pragma lib_export off
  76.  
  77. #define ODQDGlobals            (*gODQD)
  78. #endif // !defined(_PLATFORM_WIN32_) && !defined(_PLATFORM_OS2_) && !defined(_PLATFORM_UNIX_)
  79.  
  80.  
  81. #endif    // _PLFMDEF_
  82.