home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / somp.idl < prev    next >
Text File  |  1999-02-22  |  3KB  |  100 lines

  1. //
  2. //   COMPONENT_NAME: somp
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996,1996  
  8. //   All Rights Reserved
  9. //   Licensed Materials - Property of IBM
  10. //   US Government Users Restricted Rights - Use, duplication or
  11. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12. //
  13. //# @(#) 2.14 src/somp/somp.idl, somp, som2.1 2/19/96 17:30:58 [7/30/96 14:47:03]
  14.  
  15.  
  16. #ifndef somp_idl
  17. #define somp_idl
  18.  
  19.  
  20. #include <somobj.idl>
  21.  
  22. typedef unsigned short SOMPTError;
  23. #pragma somemittypes on
  24.  
  25. const unsigned short MAXTHREADS = 256;
  26. const unsigned short SOMPMAXIDNUMSIZE = 12; /* ID number can be up to 12 digits */
  27. const unsigned short SOMPMAXIDSIZE = 255;
  28. #pragma somemittypes off
  29.  
  30. #ifdef __SOMIDL__
  31. interface SOMP_Include_Headers : SOMObject {
  32. //-----------------------------------------------------------------------------
  33. // InterfaceName: SOMP_Include_Headers
  34. //
  35. // Description:    The interface is simply a dummy interface that will insert the
  36. //              #include lines that are necessary for a successful SOM compile.
  37. //-----------------------------------------------------------------------------
  38.  
  39.   implementation 
  40.   {
  41.     passthru C_h =
  42.       ""
  43.       "#ifndef _ALL_SOURCE"
  44.       "#define _ALL_SOURCE"
  45.       "#endif"
  46.       "#ifndef PERSISTENT_STG_MGR_CLASS"
  47.       "#define PERSISTENT_STG_MGR_CLASS \"SOMPPersistentStorageMgr\""
  48.       "#endif"
  49.       ""
  50.       "typedef unsigned short SOMPTError;"
  51.       "#include <stdio.h>"
  52.       "#include <sys/types.h>"
  53.       "#include <somperrd.h>"
  54.       "#include <sompstad.h>"
  55.       "#include <po.h>"
  56.       "#include <poid.h>"
  57.       "#include <pid.h>"
  58.       "#include <defedidl.h>"
  59.       "#include <fsagm.h>"
  60.       "#include <fsgm.h>"
  61.       "#include <fmi.h>"
  62.       "#include <fmib.h>"
  63.       "#include <nsma.h>"
  64.       "#include <psma.h>"
  65.       "#include <time.h>"
  66.       "SOMEXTERN void SOMInitsomp();"
  67.       "";
  68.     passthru C_xh = 
  69.       ""
  70.       "#ifndef _ALL_SOURCE"
  71.       "#define _ALL_SOURCE"
  72.       "#endif"
  73.       "#ifndef PERSISTENT_STG_MGR_CLASS"
  74.       "#define PERSISTENT_STG_MGR_CLASS \"SOMPPersistentStorageMgr\""
  75.       "#endif"
  76.       ""
  77.       "typedef unsigned short SOMPTError;"
  78.       "#include <stdio.h>"
  79.       "#include <sys/types.h>"
  80.       "#include <somperrd.xh>"
  81.       "#include <sompstad.xh>"
  82.       "#include <po.xh>"
  83.       "#include <poid.xh>"
  84.       "#include <pid.xh>"
  85.       "#include <defedidl.xh>"
  86.       "#include <fsagm.xh>"
  87.       "#include <fmi.xh>"
  88.       "#include <nsma.xh>"
  89.       "#include <psma.xh>"
  90.       "#include <time.h>"
  91.       "SOMEXTERN void SOMInitsomp();"
  92.       "";
  93.   };
  94.  
  95. }; // End of SOMP_Include_Headers
  96.  
  97. #endif /* __SOMIDL__ */
  98.  
  99. #endif    /* somp_idl */
  100.