home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample SMSAM / SampleSMSAM Source / LoadDumpFileStuff / BLJStandardIncludes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  2.2 KB  |  122 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        BLJStandardIncludes.h
  3.  
  4.     Copyright:    © 1991-1994 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Part of the AOCE Sample SMSAM Package.  Consult the license
  8.     which came with this software for your specific legal rights.
  9.  
  10. */
  11.  
  12.  
  13.  
  14. /***********************************|****************************************/
  15.  
  16. #pragma once
  17.  
  18. #ifndef __BLJSTANDARDINCLUDES__
  19. #define __BLJSTANDARDINCLUDES__
  20.  
  21. /***********************************|****************************************/
  22.  
  23. //
  24. //    DEBUG-TIME CONSTANTS
  25. //    ====================
  26. //
  27. #define    debug    1
  28.  
  29.  
  30. #include <Types.h>
  31. #include <Memory.h>
  32. #include <OSUtils.h>
  33.  
  34. #ifdef __UNIVERSAL__
  35. #include <LowMem.h>
  36. #else
  37. #include <SysEqu.h>
  38. #endif
  39.  
  40. #include <Packages.h>
  41.  
  42. #ifndef __STANDARDFILE__
  43. #include <StandardFile.h>
  44. #endif
  45.  
  46. #ifndef __SCRIPT__
  47. #include <Script.h>
  48. #endif
  49.  
  50. #ifndef THINK_CPLUS
  51. #include <Strings.h>
  52. #else
  53. #include <pascal.h>
  54. #define __STRINGS__
  55. #define c2pstr(s) CtoPstr(s)
  56. #define p2cstr(s) PtoCstr(s)
  57. #endif
  58.  
  59. #include <ToolUtils.h>
  60.  
  61. #ifndef THINK_CPLUS
  62. #include <PLStringFuncs.h>
  63. #else
  64. #include "PLStringFuncs.h"
  65. #endif
  66.  
  67. #include <iostream.h>
  68. #include <string.h>
  69. #define  __STRING__
  70.  
  71. #ifndef    __DIRECTOBJECT__
  72. #include "DirectObject.h"
  73. #endif
  74.  
  75. #ifndef    __HANDLEOBJECT__
  76. #include "HandleObject.h"
  77. #endif
  78.  
  79. #ifdef THINK_CPLUS
  80. #include "OCE.h"
  81. #include "OCEAuthDir.h"
  82. #include "DigitalSignature.h"
  83. #include "OCEMessaging.h"
  84. #include "OCEStandardDirectory.h"
  85. #include "OCEObjects.h"
  86.  
  87. #ifndef __OCEERRORS__
  88. #include "OCEErrors.h"
  89. #endif
  90.  
  91. #endif
  92.  
  93. #ifndef __PASCALSTRING__
  94. #include "PascalString.h"
  95. #endif
  96.  
  97. #ifndef __BLJOCEUTILITIES__
  98. #include "BLJOCEUtilities.h"
  99. #endif
  100.  
  101. #ifndef __THREADCLASS__
  102. #include "ThreadClasses.h"
  103. #endif
  104.  
  105. #ifndef    __NEWDELETE__
  106. #include "NewDelete.h"
  107. #endif
  108.  
  109. #ifndef __DEBUGGINGGEAR__
  110. #include "DebuggingGear.h"
  111. #endif
  112.  
  113. //----------------------------------------------------------------------------------------
  114. // This macro can be called on any variable to keep it out of a register. It is
  115. // used specifically in exception handling. Cludge to be used till volatile or
  116. // C++ exception handling is implemented.
  117. //----------------------------------------------------------------------------------------
  118.  
  119. #define VOLATILE(a) ((void) &a)
  120.  
  121. #endif    // __BLJSTANDARDINCLUDES__
  122.