home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / somperrd.h < prev    next >
C/C++ Source or Header  |  1999-02-22  |  27KB  |  678 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: somperrd.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emith: 2.47
  8.  */
  9.  
  10. #ifndef SOM_Module_somperrd_SOMPError_defined
  11. #define SOM_Module_somperrd_SOMPError_defined 1
  12. #include <som.h>
  13.  
  14. /*
  15.  * Start of bindings for IDL types
  16.  */
  17.  
  18. #ifndef SOMClass
  19.     #define SOMClass SOMObject
  20. #endif /* SOMClass */
  21. #define ex_SOMPError_sompException "::SOMPError::sompException"
  22. typedef
  23. struct SOMPError_sompException {
  24. long  primary;
  25. /*
  26.  *  See below for primary error values
  27.  */
  28.  
  29. long  secondary;
  30. /*
  31.  *  primary=1, see errno.h,  primary=2, see below...
  32.  */
  33.  
  34. } SOMPError_sompException;
  35. #define SOMPError_SOMPERROR_SYSTEM_ERROR 1 /* 1 */
  36. /*
  37.  *  Errors reported by the system. See errno.h for secondary value
  38.  */
  39.  
  40. #define SOMPError_SOMPERROR_FRAMEWORK_ERROR 2 /* 2 */
  41. /*
  42.  *  Framework specific error. See below for secondary value
  43.  */
  44.  
  45. #define SOMPError_SR_BASE 10 /* 10 */
  46. /*
  47.  *  Base for secondary error values
  48.  */
  49.  
  50. #define SOMPError_SOMPERROR_OBJ_ALREADY_REGISTERED 10 /* 10+0 */
  51. /*
  52.  *    Attempt to register an object that was already registered.
  53.  *    This is an internal error and should not be user visible.
  54.  */
  55.  
  56. #define SOMPError_SOMPERROR_COULD_NOT_FIND_DIR 11 /* 10+1 */
  57. /*
  58.  *    The system ID assigner attempted to use the path specified in
  59.  *    the environment variable SOMP_PERSIST to find the file containing
  60.  *    the last assigned ID, and the path did not exist.  Check the value
  61.  *    of SOMP_PERSIST and make sure it points to a valid pathname.
  62.  */
  63.  
  64. #define SOMPError_SOMPERROR_IOGROUP_EMPTY 12 /* 10+2 */
  65. /*
  66.  *    One of the IO Group Managers was asked to write an empty IOGroup.
  67.  *    This is an internal error and should not be user visible.
  68.  */
  69.  
  70. #define SOMPError_SOMPERROR_COULD_NOT_RESTORE_OBJ 13 /* 10+3 */
  71. /*
  72.  *    A request was made to restore an object.  The ID indicated
  73.  *    a valid file, but the requested object was not in the file.
  74.  */
  75.  
  76. #define SOMPError_SOMPERROR_OBJ_IS_NOT_PERSISTENT 14 /* 10+4 */
  77. /*
  78.  *    Attempted to store an object that is not derived from PersistentObject.
  79.  *    Only objects derived from PersistentObject can be stored.
  80.  */
  81.  
  82. #define SOMPError_SOMPERROR_IOGROUP_NEWOBJ 15 /* 10+5 */
  83. /*
  84.  *    Attempted to restore object, but the appropriate class object
  85.  *    could not be found. Users with SOMPERROR_IOGROUP_NEWOBJ errors
  86.  *    should put their object in a dynamically loadable file or use
  87.  *    their "<className>NewClass" function to create their class object
  88.  *    before attempt to restore objects.
  89.  * 
  90.  *    If the objects are already in a DLL, ensure that:
  91.  *    - The SOMInitModule function for the DLL executes the
  92.  *      <className>NewClass function for the class which can not
  93.  *      be restored.
  94.  *    - On OS/2, ensure that the SOMInitModule entry point uses
  95.  *      the "system" linkage convention. (see samples)
  96.  *    - The class definiation in question has the "dllname" modifier.
  97.  *      For example, if your dll was named foo.dll you should have
  98.  *      dllname="foo.dll"; in your .idl file.
  99.  *    - That you have updated the interface repository for your class.
  100.  *      Assuming foo.idl, you can run "sc -sir -u foo.idl" to update
  101.  *      the IR.
  102.  *    - Ensure environment variable SOMIR points to the correct IR
  103.  *      file.
  104.  * 
  105.  *    When all else fails, explicitly call the <className>NewClass
  106.  *    function of your class before attempting to restore it.
  107.  * 
  108.  */
  109.  
  110. #define SOMPError_SOMPERROR_IOGROUP_NOTREAD 16 /* 10+6 */
  111. /*
  112.  *    Attempted to read an object whose I/O Group has never been
  113.  *    read.  This is an internal error, and should not be user
  114.  *    visible.
  115.  */
  116.  
  117. #define SOMPError_SOMPERROR_OBJ_IS_NOT_INITIALIZED 17 /* 10+7 */
  118. /*
  119.  *    Attempted to store an object which was not properly initialized.
  120.  *    Code needs to initialize a persistent object with a PersistentID
  121.  *    before saving.
  122.  * 
  123.  *    Ensure that you have done one of :
  124.  *    - sompInitGivenId
  125.  *    - sompInitNextAvail
  126.  *    - sompInitNearObject
  127.  *    on the persistent object.
  128.  * 
  129.  */
  130.  
  131. #define SOMPError_SOMPERROR_PFW_INIT_FAILED 18 /* 10+8 */
  132. /*
  133.  *    Failure to instantiate either the PersistentStorageMgr or
  134.  *    the NameSpaceMgr.  This is an internal error, and should not
  135.  *    be user visible.
  136.  */
  137.  
  138. #define SOMPError_SOMPERROR_ED_INVALID_DATA_TYPE 19 /* 10+9 */
  139. /*
  140.  *    Default Encoder/Decoder attempted to read in some data, but
  141.  *    could not recognize the data type.  This could indicate a
  142.  *    corrupted data file or an internal error.
  143.  */
  144.  
  145. #define SOMPError_SOMPERROR_BAD_OBJECT_ID_STRING 20 /* 10+10 */
  146. /*
  147.  *    You have attempted to initialize a persistent ID with a
  148.  *    string that is not of the appropriate syntax.
  149.  * 
  150.  *    The correct form of a persistent ID is:
  151.  * 
  152.  *      <IOGroupMgrClassName>:<IOGroupName>:<GroupKey>
  153.  * 
  154.  *     where:
  155.  * 
  156.  *       <IOGroupMgrClassName> is the class name of an IO Group Manager
  157.  *       class. The framework supplies two: SOMPAscii and SOMPBinary
  158.  * 
  159.  *       <IOGroupName> is a name understandable to the IOGroupMgrClass.
  160.  *       SOMPAscii and SOMPBinary expect this name to be a file name.
  161.  * 
  162.  *       <GroupKey> is a key number
  163.  * 
  164.  *    If this error occurs during restore, either the ID you have
  165.  *    passed to the Persistent Storage Mgr is incorrect, or possibly
  166.  *    the ID of an object embedded in the object you are attempting
  167.  *    to restore is incorrect. The string ID read from storage may
  168.  *    have been corrupted on disk.
  169.  */
  170.  
  171. #define SOMPError_SOMPERROR_INVALID_OBJECT_TYPE 21 /* 10+11 */
  172. /*
  173.  *    One of the media interfaces attempted to determine the type
  174.  *    of an object and couldn't.  This could indicate a corrupted
  175.  *    data file or an internal error.
  176.  */
  177.  
  178. #define SOMPError_SOMPERROR_ENC_DEC_NOT_FOUND 22 /* 10+12 */
  179. /*
  180.  *    The class object of the encoder/decoder you are attempting to
  181.  *    use can not be found.  To determine what class the framework
  182.  *    is attempting to find you can invoke the method
  183.  * 
  184.  *       sompGetEncoderDecoderName
  185.  * 
  186.  *    on the objects of the class you are attempting to save/restore.
  187.  * 
  188.  *    This error is typically the result of specifying a user written
  189.  *    encoder/decoder class (via either sompSetEncoderDecoderName
  190.  *    or sompSetClassLevelEncoderDecoderName) without first ensuring
  191.  *    that its class object exists. Execute either the "NewClass"
  192.  *    function of the encoder/decoder class or ensure that it is
  193.  *    installed correctly in a DLL. (see SOMPERROR_IOGROUP_NEWOBJ)
  194.  * 
  195.  *    If the the encoder/decoder class name is SOMPAttrEncodeDecoder,
  196.  *    then there is a problem with the framework.
  197.  * 
  198.  */
  199.  
  200. #define SOMPError_SOMPERROR_IOGROUP_DOES_NOT_EXIST 23 /* 10+13 */
  201. /*
  202.  *    PersistentStorageMgr was trying to read or delete an object, but couldn't
  203.  *    find the IOGroup. For SOMPAscii and SOMPBinary, this means that
  204.  *    the file could not be found.
  205.  * 
  206.  *    This error is the result of sompGroupExists method returning FALSE.
  207.  * 
  208.  */
  209.  
  210. #define SOMPError_SOMPERROR_OBJECT_NOT_FOUND 24 /* 10+14 */
  211. /*
  212.  *    The object could not be restored or deleted because it could
  213.  *    not be found.
  214.  * 
  215.  *    Ensure that the SOMP_PERSIST environment variable is set
  216.  *    the same as when you stored the object.
  217.  * 
  218.  *    If the file appears to be there but you still can't restore,
  219.  *    perhaps the upper/lower case difference in the name of the file.
  220.  *    The framework is case sensitive.
  221.  */
  222.  
  223. #define SOMPError_SOMPERROR_INTERFACE_NOT_FOUND 25 /* 10+15 */
  224. /*
  225.  *    One of the IOGroupManagers was attempting to copy a group
  226.  *    and could not find the appropriate MediaInterface.  This is an
  227.  *    internal error and should not be user visible.
  228.  */
  229.  
  230. #define SOMPError_SOMPERROR_NOT_STORING_OBJECTS 26 /* 10+16 */
  231. /*
  232.  *    sompAddObjectToWriteSet has been called but since the
  233.  *    PersistentStorageMgr is not currently storing objects there
  234.  *    is no write set.
  235.  * 
  236.  *    The sompAddObjectToWriteSet method is intended to be used
  237.  *    by encoder/decoder objects which are run during a save/restore.
  238.  */
  239.  
  240. #define SOMPError_SOMPERROR_POINTER_NOT_REGISTERED 27 /* 10+17 */
  241. /*
  242.  *    Undocumented method was invoked.  This is an internal error,
  243.  *    and should not be user visible.
  244.  */
  245.  
  246. #define SOMPError_SOMPERROR_MEDIA_FORMAT_ERROR 28 /* 10+18 */
  247. /*
  248.  *    Attempt was made to read a file with a particular IOGroupMgr,
  249.  *    but the file was incompatible with the requested IOGroupMgr.
  250.  *    Make sure the IOGroupMgr specified in the PersistentID is
  251.  *    compatible with the IOGroupMgr that wrote the file.
  252.  * 
  253.  *    This error may also occur if you attempt to restore an object
  254.  *    from a file produced by an aborted store. If the store attempt
  255.  *    failed, the file may have been left in an invalid format.
  256.  * 
  257.  */
  258.  
  259. #define SOMPError_SOMPERROR_BAD_IOGROUP_MANAGER 29 /* 10+19 */
  260. /*
  261.  *    Attempted to restore an object with a nonexistent IOGroupMgr.
  262.  *    Check the name of the IOGroupMgr in the Persistent ID.
  263.  * 
  264.  *    The IOGroupMgr class name is the first part of a peristent ID.
  265.  *    The class object of the IOGroupMgr must exist prior to invoking
  266.  *    store/restore requests to it. Ensure that you have either called
  267.  *    the <className>NewClass procedure of your IOGroupMgr class or
  268.  *    have properly installed your class into a dynamically loadable
  269.  *    library. (see SOMPERROR_IOGROUP_NEWOBJ)
  270.  */
  271.  
  272. #define SOMPError_SOMPERROR_NOT_RESTORING_OBJECTS 30 /* 10+20 */
  273. /*
  274.  *    sompAddIdToReadSet has been called but since the
  275.  *    PersistentStorageMgr is not currently restoring objects there
  276.  *    is no read set.
  277.  * 
  278.  *    The sompAddIdToReadSet method is intended to be used by encoder/decoder
  279.  *    objects which are run during a save/restore.
  280.  */
  281.  
  282. #define SOMPError_SOMPERROR_ED_AGGREGATE_TYPE_CHG 31 /* 10+21 */
  283. /*
  284.  *    An object has been redefined in a way that one of its aggregate
  285.  *    data types is no longer compatible with its stored data.
  286.  *    Typically this means that either
  287.  *    - A new member has been added to a structure.
  288.  *    - A sequence's type has been changed, i.e. what had been a sequence
  289.  *      of reals is now a sequence of strings.
  290.  *    - An array's type has been changed, i.e. what had been an array
  291.  *      of reals is now an array of strings.
  292.  */
  293.  
  294. #define SOMPError_SOMPERROR_ED_ATTR_NOT_DEFINED 32 /* 10+22 */
  295. /*
  296.  *    An object has been redefined such that one of its attributes
  297.  *    is no longer valid.
  298.  * 
  299.  *    During the restore of an object, data for an nonexistent attribute
  300.  *    was found. The restore has been aborted.
  301.  */
  302.  
  303. #define SOMPError_SOMPERROR_ED_TC_RESTORE_FAILED 33 /* 10+23 */
  304. /*
  305.  *    An attempt to read a type code failed.  This could indicate
  306.  *    corrupted data file or an internal error.
  307.  */
  308.  
  309. #define SOMPError_SOMPERROR_ED_TYPECHG 34 /* 10+24 */
  310. /*
  311.  *    The definition for an attribute has changed its type.
  312.  * 
  313.  *    During the restore of an object, the data type of an attribute
  314.  *    has been found to be different than stored data type.
  315.  *    The restore has been aborted.
  316.  */
  317.  
  318. #define SOMPError_SOMPERROR_ED_TYPE_SIZE_CHG 35 /* 10+25 */
  319. /*
  320.  *    The definition for a sequence has changed such that the amount
  321.  *    of data stored in the sequence exceeds the new maximum.
  322.  */
  323.  
  324. #define SOMPError_SOMPERROR_ED_UNSUPPORTED_TYPE 36 /* 10+26 */
  325. /*
  326.  *    Attempted to store a non supported type code.  The type of the
  327.  *    data was not a recognized CORBA data type.
  328.  */
  329.  
  330. #define SOMPError_SOMPERROR_ED_CLASS_NOT_DEFINED 37 /* 10+27 */
  331. /*
  332.  *    An attempt was made to read an object that is not registered
  333.  *    in the inteface repository.
  334.  */
  335.  
  336. #define SOMPError_SOMPERROR_DUPLICATE_OBJECT_ID 38 /* 10+28 */
  337. /*
  338.  *    Attempted to initialize an object with the same ID as another
  339.  *    object already initialized.
  340.  */
  341.  
  342. #define SOMPError_SOMPERROR_SOMDISPATCH_FAILED 39 /* 10+29 */
  343. /*
  344.  *    In the process of storing or restoring an object, the dispatch
  345.  *    of the _get or _set method of an attribute failed. This is
  346.  *    usually a problem with the SOMInitModule.
  347.  */
  348.  
  349. #define SOMPError_SOMPERROR_TEST_ERROR 109 /* 10+99 */
  350. /*
  351.  *  for testing purposes
  352.  */
  353.  
  354. #define SOMPError_SOMPINFO_END_OF_ATTRIBUTES 44 /* 10+34 */
  355. /*
  356.  *  defedidl - internal use
  357.  */
  358.  
  359. #define SOMPError_SOMPERROR_MAX 4096 /* 4096 */
  360. /*
  361.  *    Error numbers 1 through 4096 are reserved by the framework.
  362.  *    Error numbers above 4096 are available for use by extensions of the
  363.  *    framework.
  364.  */
  365.  
  366.  
  367. #ifndef SOM_DONT_USE_SHORT_NAMES
  368. #ifndef SOMTGD_ex_sompException
  369.     #ifdef ex_sompException
  370.         #undef ex_sompException
  371.         #define SOMTGD_ex_sompException 1
  372.     #else
  373.         #define ex_sompException ex_SOMPError_sompException
  374.     #endif /* ex_sompException */
  375. #endif /* SOMTGD_ex_sompException */
  376. #ifndef SOMTGD_sompException
  377.     #ifdef sompException
  378.         #undef sompException
  379.         #define SOMTGD_sompException 1
  380.     #else
  381.         #define sompException SOMPError_sompException
  382.     #endif /* sompException */
  383. #endif /* SOMTGD_sompException */
  384. #ifndef SOMTGD_SOMPERROR_SYSTEM_ERROR
  385.     #ifdef SOMPERROR_SYSTEM_ERROR
  386.         #undef SOMPERROR_SYSTEM_ERROR
  387.         #define SOMTGD_SOMPERROR_SYSTEM_ERROR 1
  388.     #else
  389.         #define SOMPERROR_SYSTEM_ERROR SOMPError_SOMPERROR_SYSTEM_ERROR
  390.     #endif /* SOMPERROR_SYSTEM_ERROR */
  391. #endif /* SOMTGD_SOMPERROR_SYSTEM_ERROR */
  392. #ifndef SOMTGD_SOMPERROR_FRAMEWORK_ERROR
  393.     #ifdef SOMPERROR_FRAMEWORK_ERROR
  394.         #undef SOMPERROR_FRAMEWORK_ERROR
  395.         #define SOMTGD_SOMPERROR_FRAMEWORK_ERROR 1
  396.     #else
  397.         #define SOMPERROR_FRAMEWORK_ERROR SOMPError_SOMPERROR_FRAMEWORK_ERROR
  398.     #endif /* SOMPERROR_FRAMEWORK_ERROR */
  399. #endif /* SOMTGD_SOMPERROR_FRAMEWORK_ERROR */
  400. #ifndef SOMTGD_SR_BASE
  401.     #ifdef SR_BASE
  402.         #undef SR_BASE
  403.         #define SOMTGD_SR_BASE 1
  404.     #else
  405.         #define SR_BASE SOMPError_SR_BASE
  406.     #endif /* SR_BASE */
  407. #endif /* SOMTGD_SR_BASE */
  408. #ifndef SOMTGD_SOMPERROR_OBJ_ALREADY_REGISTERED
  409.     #ifdef SOMPERROR_OBJ_ALREADY_REGISTERED
  410.         #undef SOMPERROR_OBJ_ALREADY_REGISTERED
  411.         #define SOMTGD_SOMPERROR_OBJ_ALREADY_REGISTERED 1
  412.     #else
  413.         #define SOMPERROR_OBJ_ALREADY_REGISTERED SOMPError_SOMPERROR_OBJ_ALREADY_REGISTERED
  414.     #endif /* SOMPERROR_OBJ_ALREADY_REGISTERED */
  415. #endif /* SOMTGD_SOMPERROR_OBJ_ALREADY_REGISTERED */
  416. #ifndef SOMTGD_SOMPERROR_COULD_NOT_FIND_DIR
  417.     #ifdef SOMPERROR_COULD_NOT_FIND_DIR
  418.         #undef SOMPERROR_COULD_NOT_FIND_DIR
  419.         #define SOMTGD_SOMPERROR_COULD_NOT_FIND_DIR 1
  420.     #else
  421.         #define SOMPERROR_COULD_NOT_FIND_DIR SOMPError_SOMPERROR_COULD_NOT_FIND_DIR
  422.     #endif /* SOMPERROR_COULD_NOT_FIND_DIR */
  423. #endif /* SOMTGD_SOMPERROR_COULD_NOT_FIND_DIR */
  424. #ifndef SOMTGD_SOMPERROR_IOGROUP_EMPTY
  425.     #ifdef SOMPERROR_IOGROUP_EMPTY
  426.         #undef SOMPERROR_IOGROUP_EMPTY
  427.         #define SOMTGD_SOMPERROR_IOGROUP_EMPTY 1
  428.     #else
  429.         #define SOMPERROR_IOGROUP_EMPTY SOMPError_SOMPERROR_IOGROUP_EMPTY
  430.     #endif /* SOMPERROR_IOGROUP_EMPTY */
  431. #endif /* SOMTGD_SOMPERROR_IOGROUP_EMPTY */
  432. #ifndef SOMTGD_SOMPERROR_COULD_NOT_RESTORE_OBJ
  433.     #ifdef SOMPERROR_COULD_NOT_RESTORE_OBJ
  434.         #undef SOMPERROR_COULD_NOT_RESTORE_OBJ
  435.         #define SOMTGD_SOMPERROR_COULD_NOT_RESTORE_OBJ 1
  436.     #else
  437.         #define SOMPERROR_COULD_NOT_RESTORE_OBJ SOMPError_SOMPERROR_COULD_NOT_RESTORE_OBJ
  438.     #endif /* SOMPERROR_COULD_NOT_RESTORE_OBJ */
  439. #endif /* SOMTGD_SOMPERROR_COULD_NOT_RESTORE_OBJ */
  440. #ifndef SOMTGD_SOMPERROR_OBJ_IS_NOT_PERSISTENT
  441.     #ifdef SOMPERROR_OBJ_IS_NOT_PERSISTENT
  442.         #undef SOMPERROR_OBJ_IS_NOT_PERSISTENT
  443.         #define SOMTGD_SOMPERROR_OBJ_IS_NOT_PERSISTENT 1
  444.     #else
  445.         #define SOMPERROR_OBJ_IS_NOT_PERSISTENT SOMPError_SOMPERROR_OBJ_IS_NOT_PERSISTENT
  446.     #endif /* SOMPERROR_OBJ_IS_NOT_PERSISTENT */
  447. #endif /* SOMTGD_SOMPERROR_OBJ_IS_NOT_PERSISTENT */
  448. #ifndef SOMTGD_SOMPERROR_IOGROUP_NEWOBJ
  449.     #ifdef SOMPERROR_IOGROUP_NEWOBJ
  450.         #undef SOMPERROR_IOGROUP_NEWOBJ
  451.         #define SOMTGD_SOMPERROR_IOGROUP_NEWOBJ 1
  452.     #else
  453.         #define SOMPERROR_IOGROUP_NEWOBJ SOMPError_SOMPERROR_IOGROUP_NEWOBJ
  454.     #endif /* SOMPERROR_IOGROUP_NEWOBJ */
  455. #endif /* SOMTGD_SOMPERROR_IOGROUP_NEWOBJ */
  456. #ifndef SOMTGD_SOMPERROR_IOGROUP_NOTREAD
  457.     #ifdef SOMPERROR_IOGROUP_NOTREAD
  458.         #undef SOMPERROR_IOGROUP_NOTREAD
  459.         #define SOMTGD_SOMPERROR_IOGROUP_NOTREAD 1
  460.     #else
  461.         #define SOMPERROR_IOGROUP_NOTREAD SOMPError_SOMPERROR_IOGROUP_NOTREAD
  462.     #endif /* SOMPERROR_IOGROUP_NOTREAD */
  463. #endif /* SOMTGD_SOMPERROR_IOGROUP_NOTREAD */
  464. #ifndef SOMTGD_SOMPERROR_OBJ_IS_NOT_INITIALIZED
  465.     #ifdef SOMPERROR_OBJ_IS_NOT_INITIALIZED
  466.         #undef SOMPERROR_OBJ_IS_NOT_INITIALIZED
  467.         #define SOMTGD_SOMPERROR_OBJ_IS_NOT_INITIALIZED 1
  468.     #else
  469.         #define SOMPERROR_OBJ_IS_NOT_INITIALIZED SOMPError_SOMPERROR_OBJ_IS_NOT_INITIALIZED
  470.     #endif /* SOMPERROR_OBJ_IS_NOT_INITIALIZED */
  471. #endif /* SOMTGD_SOMPERROR_OBJ_IS_NOT_INITIALIZED */
  472. #ifndef SOMTGD_SOMPERROR_PFW_INIT_FAILED
  473.     #ifdef SOMPERROR_PFW_INIT_FAILED
  474.         #undef SOMPERROR_PFW_INIT_FAILED
  475.         #define SOMTGD_SOMPERROR_PFW_INIT_FAILED 1
  476.     #else
  477.         #define SOMPERROR_PFW_INIT_FAILED SOMPError_SOMPERROR_PFW_INIT_FAILED
  478.     #endif /* SOMPERROR_PFW_INIT_FAILED */
  479. #endif /* SOMTGD_SOMPERROR_PFW_INIT_FAILED */
  480. #ifndef SOMTGD_SOMPERROR_ED_INVALID_DATA_TYPE
  481.     #ifdef SOMPERROR_ED_INVALID_DATA_TYPE
  482.         #undef SOMPERROR_ED_INVALID_DATA_TYPE
  483.         #define SOMTGD_SOMPERROR_ED_INVALID_DATA_TYPE 1
  484.     #else
  485.         #define SOMPERROR_ED_INVALID_DATA_TYPE SOMPError_SOMPERROR_ED_INVALID_DATA_TYPE
  486.     #endif /* SOMPERROR_ED_INVALID_DATA_TYPE */
  487. #endif /* SOMTGD_SOMPERROR_ED_INVALID_DATA_TYPE */
  488. #ifndef SOMTGD_SOMPERROR_BAD_OBJECT_ID_STRING
  489.     #ifdef SOMPERROR_BAD_OBJECT_ID_STRING
  490.         #undef SOMPERROR_BAD_OBJECT_ID_STRING
  491.         #define SOMTGD_SOMPERROR_BAD_OBJECT_ID_STRING 1
  492.     #else
  493.         #define SOMPERROR_BAD_OBJECT_ID_STRING SOMPError_SOMPERROR_BAD_OBJECT_ID_STRING
  494.     #endif /* SOMPERROR_BAD_OBJECT_ID_STRING */
  495. #endif /* SOMTGD_SOMPERROR_BAD_OBJECT_ID_STRING */
  496. #ifndef SOMTGD_SOMPERROR_INVALID_OBJECT_TYPE
  497.     #ifdef SOMPERROR_INVALID_OBJECT_TYPE
  498.         #undef SOMPERROR_INVALID_OBJECT_TYPE
  499.         #define SOMTGD_SOMPERROR_INVALID_OBJECT_TYPE 1
  500.     #else
  501.         #define SOMPERROR_INVALID_OBJECT_TYPE SOMPError_SOMPERROR_INVALID_OBJECT_TYPE
  502.     #endif /* SOMPERROR_INVALID_OBJECT_TYPE */
  503. #endif /* SOMTGD_SOMPERROR_INVALID_OBJECT_TYPE */
  504. #ifndef SOMTGD_SOMPERROR_ENC_DEC_NOT_FOUND
  505.     #ifdef SOMPERROR_ENC_DEC_NOT_FOUND
  506.         #undef SOMPERROR_ENC_DEC_NOT_FOUND
  507.         #define SOMTGD_SOMPERROR_ENC_DEC_NOT_FOUND 1
  508.     #else
  509.         #define SOMPERROR_ENC_DEC_NOT_FOUND SOMPError_SOMPERROR_ENC_DEC_NOT_FOUND
  510.     #endif /* SOMPERROR_ENC_DEC_NOT_FOUND */
  511. #endif /* SOMTGD_SOMPERROR_ENC_DEC_NOT_FOUND */
  512. #ifndef SOMTGD_SOMPERROR_IOGROUP_DOES_NOT_EXIST
  513.     #ifdef SOMPERROR_IOGROUP_DOES_NOT_EXIST
  514.         #undef SOMPERROR_IOGROUP_DOES_NOT_EXIST
  515.         #define SOMTGD_SOMPERROR_IOGROUP_DOES_NOT_EXIST 1
  516.     #else
  517.         #define SOMPERROR_IOGROUP_DOES_NOT_EXIST SOMPError_SOMPERROR_IOGROUP_DOES_NOT_EXIST
  518.     #endif /* SOMPERROR_IOGROUP_DOES_NOT_EXIST */
  519. #endif /* SOMTGD_SOMPERROR_IOGROUP_DOES_NOT_EXIST */
  520. #ifndef SOMTGD_SOMPERROR_OBJECT_NOT_FOUND
  521.     #ifdef SOMPERROR_OBJECT_NOT_FOUND
  522.         #undef SOMPERROR_OBJECT_NOT_FOUND
  523.         #define SOMTGD_SOMPERROR_OBJECT_NOT_FOUND 1
  524.     #else
  525.         #define SOMPERROR_OBJECT_NOT_FOUND SOMPError_SOMPERROR_OBJECT_NOT_FOUND
  526.     #endif /* SOMPERROR_OBJECT_NOT_FOUND */
  527. #endif /* SOMTGD_SOMPERROR_OBJECT_NOT_FOUND */
  528. #ifndef SOMTGD_SOMPERROR_INTERFACE_NOT_FOUND
  529.     #ifdef SOMPERROR_INTERFACE_NOT_FOUND
  530.         #undef SOMPERROR_INTERFACE_NOT_FOUND
  531.         #define SOMTGD_SOMPERROR_INTERFACE_NOT_FOUND 1
  532.     #else
  533.         #define SOMPERROR_INTERFACE_NOT_FOUND SOMPError_SOMPERROR_INTERFACE_NOT_FOUND
  534.     #endif /* SOMPERROR_INTERFACE_NOT_FOUND */
  535. #endif /* SOMTGD_SOMPERROR_INTERFACE_NOT_FOUND */
  536. #ifndef SOMTGD_SOMPERROR_NOT_STORING_OBJECTS
  537.     #ifdef SOMPERROR_NOT_STORING_OBJECTS
  538.         #undef SOMPERROR_NOT_STORING_OBJECTS
  539.         #define SOMTGD_SOMPERROR_NOT_STORING_OBJECTS 1
  540.     #else
  541.         #define SOMPERROR_NOT_STORING_OBJECTS SOMPError_SOMPERROR_NOT_STORING_OBJECTS
  542.     #endif /* SOMPERROR_NOT_STORING_OBJECTS */
  543. #endif /* SOMTGD_SOMPERROR_NOT_STORING_OBJECTS */
  544. #ifndef SOMTGD_SOMPERROR_POINTER_NOT_REGISTERED
  545.     #ifdef SOMPERROR_POINTER_NOT_REGISTERED
  546.         #undef SOMPERROR_POINTER_NOT_REGISTERED
  547.         #define SOMTGD_SOMPERROR_POINTER_NOT_REGISTERED 1
  548.     #else
  549.         #define SOMPERROR_POINTER_NOT_REGISTERED SOMPError_SOMPERROR_POINTER_NOT_REGISTERED
  550.     #endif /* SOMPERROR_POINTER_NOT_REGISTERED */
  551. #endif /* SOMTGD_SOMPERROR_POINTER_NOT_REGISTERED */
  552. #ifndef SOMTGD_SOMPERROR_MEDIA_FORMAT_ERROR
  553.     #ifdef SOMPERROR_MEDIA_FORMAT_ERROR
  554.         #undef SOMPERROR_MEDIA_FORMAT_ERROR
  555.         #define SOMTGD_SOMPERROR_MEDIA_FORMAT_ERROR 1
  556.     #else
  557.         #define SOMPERROR_MEDIA_FORMAT_ERROR SOMPError_SOMPERROR_MEDIA_FORMAT_ERROR
  558.     #endif /* SOMPERROR_MEDIA_FORMAT_ERROR */
  559. #endif /* SOMTGD_SOMPERROR_MEDIA_FORMAT_ERROR */
  560. #ifndef SOMTGD_SOMPERROR_BAD_IOGROUP_MANAGER
  561.     #ifdef SOMPERROR_BAD_IOGROUP_MANAGER
  562.         #undef SOMPERROR_BAD_IOGROUP_MANAGER
  563.         #define SOMTGD_SOMPERROR_BAD_IOGROUP_MANAGER 1
  564.     #else
  565.         #define SOMPERROR_BAD_IOGROUP_MANAGER SOMPError_SOMPERROR_BAD_IOGROUP_MANAGER
  566.     #endif /* SOMPERROR_BAD_IOGROUP_MANAGER */
  567. #endif /* SOMTGD_SOMPERROR_BAD_IOGROUP_MANAGER */
  568. #ifndef SOMTGD_SOMPERROR_NOT_RESTORING_OBJECTS
  569.     #ifdef SOMPERROR_NOT_RESTORING_OBJECTS
  570.         #undef SOMPERROR_NOT_RESTORING_OBJECTS
  571.         #define SOMTGD_SOMPERROR_NOT_RESTORING_OBJECTS 1
  572.     #else
  573.         #define SOMPERROR_NOT_RESTORING_OBJECTS SOMPError_SOMPERROR_NOT_RESTORING_OBJECTS
  574.     #endif /* SOMPERROR_NOT_RESTORING_OBJECTS */
  575. #endif /* SOMTGD_SOMPERROR_NOT_RESTORING_OBJECTS */
  576. #ifndef SOMTGD_SOMPERROR_ED_AGGREGATE_TYPE_CHG
  577.     #ifdef SOMPERROR_ED_AGGREGATE_TYPE_CHG
  578.         #undef SOMPERROR_ED_AGGREGATE_TYPE_CHG
  579.         #define SOMTGD_SOMPERROR_ED_AGGREGATE_TYPE_CHG 1
  580.     #else
  581.         #define SOMPERROR_ED_AGGREGATE_TYPE_CHG SOMPError_SOMPERROR_ED_AGGREGATE_TYPE_CHG
  582.     #endif /* SOMPERROR_ED_AGGREGATE_TYPE_CHG */
  583. #endif /* SOMTGD_SOMPERROR_ED_AGGREGATE_TYPE_CHG */
  584. #ifndef SOMTGD_SOMPERROR_ED_ATTR_NOT_DEFINED
  585.     #ifdef SOMPERROR_ED_ATTR_NOT_DEFINED
  586.         #undef SOMPERROR_ED_ATTR_NOT_DEFINED
  587.         #define SOMTGD_SOMPERROR_ED_ATTR_NOT_DEFINED 1
  588.     #else
  589.         #define SOMPERROR_ED_ATTR_NOT_DEFINED SOMPError_SOMPERROR_ED_ATTR_NOT_DEFINED
  590.     #endif /* SOMPERROR_ED_ATTR_NOT_DEFINED */
  591. #endif /* SOMTGD_SOMPERROR_ED_ATTR_NOT_DEFINED */
  592. #ifndef SOMTGD_SOMPERROR_ED_TC_RESTORE_FAILED
  593.     #ifdef SOMPERROR_ED_TC_RESTORE_FAILED
  594.         #undef SOMPERROR_ED_TC_RESTORE_FAILED
  595.         #define SOMTGD_SOMPERROR_ED_TC_RESTORE_FAILED 1
  596.     #else
  597.         #define SOMPERROR_ED_TC_RESTORE_FAILED SOMPError_SOMPERROR_ED_TC_RESTORE_FAILED
  598.     #endif /* SOMPERROR_ED_TC_RESTORE_FAILED */
  599. #endif /* SOMTGD_SOMPERROR_ED_TC_RESTORE_FAILED */
  600. #ifndef SOMTGD_SOMPERROR_ED_TYPECHG
  601.     #ifdef SOMPERROR_ED_TYPECHG
  602.         #undef SOMPERROR_ED_TYPECHG
  603.         #define SOMTGD_SOMPERROR_ED_TYPECHG 1
  604.     #else
  605.         #define SOMPERROR_ED_TYPECHG SOMPError_SOMPERROR_ED_TYPECHG
  606.     #endif /* SOMPERROR_ED_TYPECHG */
  607. #endif /* SOMTGD_SOMPERROR_ED_TYPECHG */
  608. #ifndef SOMTGD_SOMPERROR_ED_TYPE_SIZE_CHG
  609.     #ifdef SOMPERROR_ED_TYPE_SIZE_CHG
  610.         #undef SOMPERROR_ED_TYPE_SIZE_CHG
  611.         #define SOMTGD_SOMPERROR_ED_TYPE_SIZE_CHG 1
  612.     #else
  613.         #define SOMPERROR_ED_TYPE_SIZE_CHG SOMPError_SOMPERROR_ED_TYPE_SIZE_CHG
  614.     #endif /* SOMPERROR_ED_TYPE_SIZE_CHG */
  615. #endif /* SOMTGD_SOMPERROR_ED_TYPE_SIZE_CHG */
  616. #ifndef SOMTGD_SOMPERROR_ED_UNSUPPORTED_TYPE
  617.     #ifdef SOMPERROR_ED_UNSUPPORTED_TYPE
  618.         #undef SOMPERROR_ED_UNSUPPORTED_TYPE
  619.         #define SOMTGD_SOMPERROR_ED_UNSUPPORTED_TYPE 1
  620.     #else
  621.         #define SOMPERROR_ED_UNSUPPORTED_TYPE SOMPError_SOMPERROR_ED_UNSUPPORTED_TYPE
  622.     #endif /* SOMPERROR_ED_UNSUPPORTED_TYPE */
  623. #endif /* SOMTGD_SOMPERROR_ED_UNSUPPORTED_TYPE */
  624. #ifndef SOMTGD_SOMPERROR_ED_CLASS_NOT_DEFINED
  625.     #ifdef SOMPERROR_ED_CLASS_NOT_DEFINED
  626.         #undef SOMPERROR_ED_CLASS_NOT_DEFINED
  627.         #define SOMTGD_SOMPERROR_ED_CLASS_NOT_DEFINED 1
  628.     #else
  629.         #define SOMPERROR_ED_CLASS_NOT_DEFINED SOMPError_SOMPERROR_ED_CLASS_NOT_DEFINED
  630.     #endif /* SOMPERROR_ED_CLASS_NOT_DEFINED */
  631. #endif /* SOMTGD_SOMPERROR_ED_CLASS_NOT_DEFINED */
  632. #ifndef SOMTGD_SOMPERROR_DUPLICATE_OBJECT_ID
  633.     #ifdef SOMPERROR_DUPLICATE_OBJECT_ID
  634.         #undef SOMPERROR_DUPLICATE_OBJECT_ID
  635.         #define SOMTGD_SOMPERROR_DUPLICATE_OBJECT_ID 1
  636.     #else
  637.         #define SOMPERROR_DUPLICATE_OBJECT_ID SOMPError_SOMPERROR_DUPLICATE_OBJECT_ID
  638.     #endif /* SOMPERROR_DUPLICATE_OBJECT_ID */
  639. #endif /* SOMTGD_SOMPERROR_DUPLICATE_OBJECT_ID */
  640. #ifndef SOMTGD_SOMPERROR_SOMDISPATCH_FAILED
  641.     #ifdef SOMPERROR_SOMDISPATCH_FAILED
  642.         #undef SOMPERROR_SOMDISPATCH_FAILED
  643.         #define SOMTGD_SOMPERROR_SOMDISPATCH_FAILED 1
  644.     #else
  645.         #define SOMPERROR_SOMDISPATCH_FAILED SOMPError_SOMPERROR_SOMDISPATCH_FAILED
  646.     #endif /* SOMPERROR_SOMDISPATCH_FAILED */
  647. #endif /* SOMTGD_SOMPERROR_SOMDISPATCH_FAILED */
  648. #ifndef SOMTGD_SOMPERROR_TEST_ERROR
  649.     #ifdef SOMPERROR_TEST_ERROR
  650.         #undef SOMPERROR_TEST_ERROR
  651.         #define SOMTGD_SOMPERROR_TEST_ERROR 1
  652.     #else
  653.         #define SOMPERROR_TEST_ERROR SOMPError_SOMPERROR_TEST_ERROR
  654.     #endif /* SOMPERROR_TEST_ERROR */
  655. #endif /* SOMTGD_SOMPERROR_TEST_ERROR */
  656. #ifndef SOMTGD_SOMPINFO_END_OF_ATTRIBUTES
  657.     #ifdef SOMPINFO_END_OF_ATTRIBUTES
  658.         #undef SOMPINFO_END_OF_ATTRIBUTES
  659.         #define SOMTGD_SOMPINFO_END_OF_ATTRIBUTES 1
  660.     #else
  661.         #define SOMPINFO_END_OF_ATTRIBUTES SOMPError_SOMPINFO_END_OF_ATTRIBUTES
  662.     #endif /* SOMPINFO_END_OF_ATTRIBUTES */
  663. #endif /* SOMTGD_SOMPINFO_END_OF_ATTRIBUTES */
  664. #ifndef SOMTGD_SOMPERROR_MAX
  665.     #ifdef SOMPERROR_MAX
  666.         #undef SOMPERROR_MAX
  667.         #define SOMTGD_SOMPERROR_MAX 1
  668.     #else
  669.         #define SOMPERROR_MAX SOMPError_SOMPERROR_MAX
  670.     #endif /* SOMPERROR_MAX */
  671. #endif /* SOMTGD_SOMPERROR_MAX */
  672. #endif /* SOM_DONT_USE_SHORT_NAMES */
  673.  
  674. /*
  675.  * End of bindings for IDL types.
  676.  */
  677. #endif /* SOM_Module_somperrd_SOMPError_defined */
  678.