home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / impldef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  20.4 KB  |  501 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: h:\somnt\include\IMPLDEF.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: Development
  7.  *     SOM Emitter emith.dll: Development
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *    COMPONENT_NAME: somd
  13.  * 
  14.  *    ORIGINS: 27
  15.  * 
  16.  * 
  17.  *    10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  18.  *    All Rights Reserved
  19.  *    Licensed Materials - Property of IBM
  20.  *    US Government Users Restricted Rights - Use, duplication or
  21.  *    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  22.  * 
  23.  *   CLASS SPECIFICATION FOR IMPLEMENTATION DEFINITION
  24.  */
  25.  
  26.  
  27. #ifndef SOM_ImplementationDef_h
  28. #define SOM_ImplementationDef_h
  29.  
  30.  
  31. #include <som.h>
  32.  
  33. /*
  34.  * -- This emitter treats Method Tokens as Thunks by default.
  35.  * -- Use the sc modifier "nothunks" to change this default
  36.  */
  37. #undef somresolve_
  38. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  39.  
  40. /*
  41.  * Define the class name as an object type
  42.  */
  43. #ifndef ImplementationDef
  44. #define ImplementationDef SOMObject
  45. #endif
  46. #include <somobj.h>
  47.  
  48. /*
  49.  * Start of user-defined types:
  50.  */
  51. #ifndef SOMClass
  52.     #define SOMClass SOMObject
  53. #endif /* SOMClass */
  54. #ifndef Container
  55.     #define Container SOMObject
  56. #endif /* Container */
  57.  
  58. /*
  59.  * End of user-defined types.
  60.  */
  61.  
  62. /*
  63.  * Passthru lines: File: "C.h", "after"
  64.  */
  65.  
  66. /* flags */
  67. #define IMPLDEF_MULTI_THREAD  0x00000001
  68. #define IMPLDEF_POOL_THREAD   0x00000002
  69. #define IMPLDEF_DISABLE_SVR   0x00000004
  70. #define IMPLDEF_IMPLID_SET    0x00000008
  71. #define IMPLDEF_NONSTOPPABLE  0x00000010
  72. #define IMPLDEF_SECUREMODE    0x00000020
  73.  
  74. #ifdef SOM_STRICT_IDL
  75. SOMEXTERN WIN32_DLLIMPORT ImplementationDef  SOMDLINK SOMD_ImplDefObject;
  76. #else
  77. SOMEXTERN WIN32_DLLIMPORT ImplementationDef*  SOMDLINK SOMD_ImplDefObject;
  78. #endif /* SOM_STRICT_IDL */
  79.  
  80.  
  81. #define ImplementationDef_MajorVersion 2
  82. #define ImplementationDef_MinorVersion 1
  83.  
  84. /*
  85.  * External name shortening if required
  86.  */
  87. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  88. #define ImplementationDefNewClass c
  89. #define ImplementationDefClassData d
  90. #define ImplementationDefCClassData x
  91. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  92. /*--------------Migration------------*/
  93. #define ImplementationDef_classObj ImplementationDefClassData.classObject
  94. #define _ImplementationDef ImplementationDef_classObj
  95.  
  96. /*
  97.  * Declare the class creation procedure
  98.  */
  99. SOMEXTERN
  100. #if (defined(SOM_Module_IMPLDEF_Source) || defined(ImplementationDef_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ImplementationDef))
  101. WIN32_DLLEXPORT
  102. #else
  103. WIN32_DLLIMPORT
  104. #endif
  105. SOMClass * SOMLINK ImplementationDefNewClass(integer4 somntmajorVersion,
  106.         integer4 somntminorVersion);
  107.  
  108. /*
  109.  * Declare the class data structure
  110.  */
  111. SOMEXTERN struct ImplementationDefClassDataStructure {
  112.     SOMClass *classObject;
  113.     somMToken _set_impl_id;
  114.     somMToken _get_impl_id;
  115.     somMToken _set_impl_alias;
  116.     somMToken _get_impl_alias;
  117.     somMToken _set_impl_program;
  118.     somMToken _get_impl_program;
  119.     somMToken _set_impl_flags;
  120.     somMToken _get_impl_flags;
  121.     somMToken _set_impl_server_class;
  122.     somMToken _get_impl_server_class;
  123.     somMToken _set_impl_socket_class;
  124.     somMToken _get_impl_socket_class;
  125.     somMToken _set_impl_refdata_file;
  126.     somMToken _get_impl_refdata_file;
  127.     somMToken _set_impl_refdata_bkup;
  128.     somMToken _get_impl_refdata_bkup;
  129.     somMToken _set_impl_hostname;
  130.     somMToken _get_impl_hostname;
  131.     somMToken _set_impl_def_struct;
  132.     somMToken _get_impl_def_struct;
  133.     somMToken get_impl_winserver_handle;
  134. #if (defined(SOM_Module_IMPLDEF_Source) || defined(ImplementationDef_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ImplementationDef))
  135. } WIN32_DLLEXPORT SOMDLINK ImplementationDefClassData;
  136. #else
  137. } WIN32_DLLIMPORT SOMDLINK ImplementationDefClassData;
  138. #endif
  139.  
  140. /*
  141.  * Declare the C specific class data structure
  142.  */
  143. SOMEXTERN struct ImplementationDefCClassDataStructure {
  144.     somMethodTabs parentMtab;
  145.     somDToken instanceDataToken;
  146. #if (defined(SOM_Module_IMPLDEF_Source) || defined(ImplementationDef_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ImplementationDef))
  147. } WIN32_DLLEXPORT SOMDLINK ImplementationDefCClassData;
  148. #else
  149. } WIN32_DLLIMPORT SOMDLINK ImplementationDefCClassData;
  150. #endif
  151.  
  152. /*
  153.  * New and Renew macros for ImplementationDef
  154.  */
  155. #define ImplementationDefNew() \
  156.    (_somNew(_ImplementationDef ? _ImplementationDef : ImplementationDefNewClass(ImplementationDef_MajorVersion, ImplementationDef_MinorVersion)))
  157. #define ImplementationDefRenew(buf) \
  158.    (_somRenew(_ImplementationDef ? _ImplementationDef : ImplementationDefNewClass(ImplementationDef_MajorVersion, ImplementationDef_MinorVersion), buf))
  159.  
  160. /*
  161.  * New Method: _get_impl_id
  162.  */
  163. typedef string   SOMLINK somTP_ImplementationDef__get_impl_id(ImplementationDef *somSelf, Environment *ev);
  164. typedef somTP_ImplementationDef__get_impl_id *somTD_ImplementationDef__get_impl_id;
  165. #define somMD_ImplementationDef__get_impl_id "::ImplementationDef::_get_impl_id"
  166. #define ImplementationDef__get_impl_id(somSelf,ev) \
  167.     (SOM_Resolve(somSelf, ImplementationDef, _get_impl_id) \
  168.     (somSelf,ev))
  169. #ifndef SOMGD_get_impl_id
  170.     #if (defined(_get_impl_id) || defined(__get_impl_id))
  171.         #undef _get_impl_id
  172.         #undef __get_impl_id
  173.         #define SOMGD_get_impl_id 1
  174.     #else
  175.         #define __get_impl_id ImplementationDef__get_impl_id
  176.     #endif /* __get_impl_id */
  177. #endif /* SOMGD_get_impl_id */
  178.  
  179. /*
  180.  * New Method: _set_impl_id
  181.  */
  182. typedef void   SOMLINK somTP_ImplementationDef__set_impl_id(ImplementationDef *somSelf, Environment *ev,
  183.         string impl_id);
  184. typedef somTP_ImplementationDef__set_impl_id *somTD_ImplementationDef__set_impl_id;
  185. #define somMD_ImplementationDef__set_impl_id "::ImplementationDef::_set_impl_id"
  186. #define ImplementationDef__set_impl_id(somSelf,ev,impl_id) \
  187.     (SOM_Resolve(somSelf, ImplementationDef, _set_impl_id) \
  188.     (somSelf,ev,impl_id))
  189. #ifndef SOMGD_set_impl_id
  190.     #if (defined(_set_impl_id) || defined(__set_impl_id))
  191.         #undef _set_impl_id
  192.         #undef __set_impl_id
  193.         #define SOMGD_set_impl_id 1
  194.     #else
  195.         #define __set_impl_id ImplementationDef__set_impl_id
  196.     #endif /* __set_impl_id */
  197. #endif /* SOMGD_set_impl_id */
  198.  
  199. /*
  200.  * New Method: _get_impl_alias
  201.  */
  202. typedef string   SOMLINK somTP_ImplementationDef__get_impl_alias(ImplementationDef *somSelf, Environment *ev);
  203. typedef somTP_ImplementationDef__get_impl_alias *somTD_ImplementationDef__get_impl_alias;
  204. #define somMD_ImplementationDef__get_impl_alias "::ImplementationDef::_get_impl_alias"
  205. #define ImplementationDef__get_impl_alias(somSelf,ev) \
  206.     (SOM_Resolve(somSelf, ImplementationDef, _get_impl_alias) \
  207.     (somSelf,ev))
  208. #ifndef SOMGD_get_impl_alias
  209.     #if (defined(_get_impl_alias) || defined(__get_impl_alias))
  210.         #undef _get_impl_alias
  211.         #undef __get_impl_alias
  212.         #define SOMGD_get_impl_alias 1
  213.     #else
  214.         #define __get_impl_alias ImplementationDef__get_impl_alias
  215.     #endif /* __get_impl_alias */
  216. #endif /* SOMGD_get_impl_alias */
  217.  
  218. /*
  219.  * New Method: _set_impl_alias
  220.  */
  221. typedef void   SOMLINK somTP_ImplementationDef__set_impl_alias(ImplementationDef *somSelf, Environment *ev,
  222.         string impl_alias);
  223. typedef somTP_ImplementationDef__set_impl_alias *somTD_ImplementationDef__set_impl_alias;
  224. #define somMD_ImplementationDef__set_impl_alias "::ImplementationDef::_set_impl_alias"
  225. #define ImplementationDef__set_impl_alias(somSelf,ev,impl_alias) \
  226.     (SOM_Resolve(somSelf, ImplementationDef, _set_impl_alias) \
  227.     (somSelf,ev,impl_alias))
  228. #ifndef SOMGD_set_impl_alias
  229.     #if (defined(_set_impl_alias) || defined(__set_impl_alias))
  230.         #undef _set_impl_alias
  231.         #undef __set_impl_alias
  232.         #define SOMGD_set_impl_alias 1
  233.     #else
  234.         #define __set_impl_alias ImplementationDef__set_impl_alias
  235.     #endif /* __set_impl_alias */
  236. #endif /* SOMGD_set_impl_alias */
  237.  
  238. /*
  239.  * New Method: _get_impl_program
  240.  */
  241. typedef string   SOMLINK somTP_ImplementationDef__get_impl_program(ImplementationDef *somSelf, Environment *ev);
  242. typedef somTP_ImplementationDef__get_impl_program *somTD_ImplementationDef__get_impl_program;
  243. #define somMD_ImplementationDef__get_impl_program "::ImplementationDef::_get_impl_program"
  244. #define ImplementationDef__get_impl_program(somSelf,ev) \
  245.     (SOM_Resolve(somSelf, ImplementationDef, _get_impl_program) \
  246.     (somSelf,ev))
  247. #ifndef SOMGD_get_impl_program
  248.     #if (defined(_get_impl_program) || defined(__get_impl_program))
  249.         #undef _get_impl_program
  250.         #undef __get_impl_program
  251.         #define SOMGD_get_impl_program 1
  252.     #else
  253.         #define __get_impl_program ImplementationDef__get_impl_program
  254.     #endif /* __get_impl_program */
  255. #endif /* SOMGD_get_impl_program */
  256.  
  257. /*
  258.  * New Method: _set_impl_program
  259.  */
  260. typedef void   SOMLINK somTP_ImplementationDef__set_impl_program(ImplementationDef *somSelf, Environment *ev,
  261.         string impl_program);
  262. typedef somTP_ImplementationDef__set_impl_program *somTD_ImplementationDef__set_impl_program;
  263. #define somMD_ImplementationDef__set_impl_program "::ImplementationDef::_set_impl_program"
  264. #define ImplementationDef__set_impl_program(somSelf,ev,impl_program) \
  265.     (SOM_Resolve(somSelf, ImplementationDef, _set_impl_program) \
  266.     (somSelf,ev,impl_program))
  267. #ifndef SOMGD_set_impl_program
  268.     #if (defined(_set_impl_program) || defined(__set_impl_program))
  269.         #undef _set_impl_program
  270.         #undef __set_impl_program
  271.         #define SOMGD_set_impl_program 1
  272.     #else
  273.         #define __set_impl_program ImplementationDef__set_impl_program
  274.     #endif /* __set_impl_program */
  275. #endif /* SOMGD_set_impl_program */
  276.  
  277. /*
  278.  * New Method: _get_impl_flags
  279.  */
  280. typedef Flags   SOMLINK somTP_ImplementationDef__get_impl_flags(ImplementationDef *somSelf, Environment *ev);
  281. typedef somTP_ImplementationDef__get_impl_flags *somTD_ImplementationDef__get_impl_flags;
  282. #define somMD_ImplementationDef__get_impl_flags "::ImplementationDef::_get_impl_flags"
  283. #define ImplementationDef__get_impl_flags(somSelf,ev) \
  284.     (SOM_Resolve(somSelf, ImplementationDef, _get_impl_flags) \
  285.     (somSelf,ev))
  286. #ifndef SOMGD_get_impl_flags
  287.     #if (defined(_get_impl_flags) || defined(__get_impl_flags))
  288.         #undef _get_impl_flags
  289.         #undef __get_impl_flags
  290.         #define SOMGD_get_impl_flags 1
  291.     #else
  292.         #define __get_impl_flags ImplementationDef__get_impl_flags
  293.     #endif /* __get_impl_flags */
  294. #endif /* SOMGD_get_impl_flags */
  295.  
  296. /*
  297.  * New Method: _set_impl_flags
  298.  */
  299. typedef void   SOMLINK somTP_ImplementationDef__set_impl_flags(ImplementationDef *somSelf, Environment *ev,
  300.         Flags impl_flags);
  301. typedef somTP_ImplementationDef__set_impl_flags *somTD_ImplementationDef__set_impl_flags;
  302. #define somMD_ImplementationDef__set_impl_flags "::ImplementationDef::_set_impl_flags"
  303. #define ImplementationDef__set_impl_flags(somSelf,ev,impl_flags) \
  304.     (SOM_Resolve(somSelf, ImplementationDef, _set_impl_flags) \
  305.     (somSelf,ev,impl_flags))
  306. #ifndef SOMGD_set_impl_flags
  307.     #if (defined(_set_impl_flags) || defined(__set_impl_flags))
  308.         #undef _set_impl_flags
  309.         #undef __set_impl_flags
  310.         #define SOMGD_set_impl_flags 1
  311.     #else
  312.         #define __set_impl_flags ImplementationDef__set_impl_flags
  313.     #endif /* __set_impl_flags */
  314. #endif /* SOMGD_set_impl_flags */
  315.  
  316. /*
  317.  * New Method: _get_impl_server_class
  318.  */
  319. typedef string   SOMLINK somTP_ImplementationDef__get_impl_server_class(ImplementationDef *somSelf, Environment *ev);
  320. typedef somTP_ImplementationDef__get_impl_server_class *somTD_ImplementationDef__get_impl_server_class;
  321. #define somMD_ImplementationDef__get_impl_server_class "::ImplementationDef::_get_impl_server_class"
  322. #define ImplementationDef__get_impl_server_class(somSelf,ev) \
  323.     (SOM_Resolve(somSelf, ImplementationDef, _get_impl_server_class) \
  324.     (somSelf,ev))
  325. #ifndef SOMGD_get_impl_server_class
  326.     #if (defined(_get_impl_server_class) || defined(__get_impl_server_class))
  327.         #undef _get_impl_server_class
  328.         #undef __get_impl_server_class
  329.         #define SOMGD_get_impl_server_class 1
  330.     #else
  331.         #define __get_impl_server_class ImplementationDef__get_impl_server_class
  332.     #endif /* __get_impl_server_class */
  333. #endif /* SOMGD_get_impl_server_class */
  334.  
  335. /*
  336.  * New Method: _set_impl_server_class
  337.  */
  338. typedef void   SOMLINK somTP_ImplementationDef__set_impl_server_class(ImplementationDef *somSelf, Environment *ev,
  339.         string impl_server_class);
  340. typedef somTP_ImplementationDef__set_impl_server_class *somTD_ImplementationDef__set_impl_server_class;
  341. #define somMD_ImplementationDef__set_impl_server_class "::ImplementationDef::_set_impl_server_class"
  342. #define ImplementationDef__set_impl_server_class(somSelf,ev,impl_server_class) \
  343.     (SOM_Resolve(somSelf, ImplementationDef, _set_impl_server_class) \
  344.     (somSelf,ev,impl_server_class))
  345. #ifndef SOMGD_set_impl_server_class
  346.     #if (defined(_set_impl_server_class) || defined(__set_impl_server_class))
  347.         #undef _set_impl_server_class
  348.         #undef __set_impl_server_class
  349.         #define SOMGD_set_impl_server_class 1
  350.     #else
  351.         #define __set_impl_server_class ImplementationDef__set_impl_server_class
  352.     #endif /* __set_impl_server_class */
  353. #endif /* SOMGD_set_impl_server_class */
  354.  
  355. /*
  356.  * New Method: _get_impl_refdata_file
  357.  */
  358. typedef string   SOMLINK somTP_ImplementationDef__get_impl_refdata_file(ImplementationDef *somSelf, Environment *ev);
  359. typedef somTP_ImplementationDef__get_impl_refdata_file *somTD_ImplementationDef__get_impl_refdata_file;
  360. #define somMD_ImplementationDef__get_impl_refdata_file "::ImplementationDef::_get_impl_refdata_file"
  361. #define ImplementationDef__get_impl_refdata_file(somSelf,ev) \
  362.     (SOM_Resolve(somSelf, ImplementationDef, _get_impl_refdata_file) \
  363.     (somSelf,ev))
  364. #ifndef SOMGD_get_impl_refdata_file
  365.     #if (defined(_get_impl_refdata_file) || defined(__get_impl_refdata_file))
  366.         #undef _get_impl_refdata_file
  367.         #undef __get_impl_refdata_file
  368.         #define SOMGD_get_impl_refdata_file 1
  369.     #else
  370.         #define __get_impl_refdata_file ImplementationDef__get_impl_refdata_file
  371.     #endif /* __get_impl_refdata_file */
  372. #endif /* SOMGD_get_impl_refdata_file */
  373.  
  374. /*
  375.  * New Method: _set_impl_refdata_file
  376.  */
  377. typedef void   SOMLINK somTP_ImplementationDef__set_impl_refdata_file(ImplementationDef *somSelf, Environment *ev,
  378.         string impl_refdata_file);
  379. typedef somTP_ImplementationDef__set_impl_refdata_file *somTD_ImplementationDef__set_impl_refdata_file;
  380. #define somMD_ImplementationDef__set_impl_refdata_file "::ImplementationDef::_set_impl_refdata_file"
  381. #define ImplementationDef__set_impl_refdata_file(somSelf,ev,impl_refdata_file) \
  382.     (SOM_Resolve(somSelf, ImplementationDef, _set_impl_refdata_file) \
  383.     (somSelf,ev,impl_refdata_file))
  384. #ifndef SOMGD_set_impl_refdata_file
  385.     #if (defined(_set_impl_refdata_file) || defined(__set_impl_refdata_file))
  386.         #undef _set_impl_refdata_file
  387.         #undef __set_impl_refdata_file
  388.         #define SOMGD_set_impl_refdata_file 1
  389.     #else
  390.         #define __set_impl_refdata_file ImplementationDef__set_impl_refdata_file
  391.     #endif /* __set_impl_refdata_file */
  392. #endif /* SOMGD_set_impl_refdata_file */
  393.  
  394. /*
  395.  * New Method: _get_impl_refdata_bkup
  396.  */
  397. typedef string   SOMLINK somTP_ImplementationDef__get_impl_refdata_bkup(ImplementationDef *somSelf, Environment *ev);
  398. typedef somTP_ImplementationDef__get_impl_refdata_bkup *somTD_ImplementationDef__get_impl_refdata_bkup;
  399. #define somMD_ImplementationDef__get_impl_refdata_bkup "::ImplementationDef::_get_impl_refdata_bkup"
  400. #define ImplementationDef__get_impl_refdata_bkup(somSelf,ev) \
  401.     (SOM_Resolve(somSelf, ImplementationDef, _get_impl_refdata_bkup) \
  402.     (somSelf,ev))
  403. #ifndef SOMGD_get_impl_refdata_bkup
  404.     #if (defined(_get_impl_refdata_bkup) || defined(__get_impl_refdata_bkup))
  405.         #undef _get_impl_refdata_bkup
  406.         #undef __get_impl_refdata_bkup
  407.         #define SOMGD_get_impl_refdata_bkup 1
  408.     #else
  409.         #define __get_impl_refdata_bkup ImplementationDef__get_impl_refdata_bkup
  410.     #endif /* __get_impl_refdata_bkup */
  411. #endif /* SOMGD_get_impl_refdata_bkup */
  412.  
  413. /*
  414.  * New Method: _set_impl_refdata_bkup
  415.  */
  416. typedef void   SOMLINK somTP_ImplementationDef__set_impl_refdata_bkup(ImplementationDef *somSelf, Environment *ev,
  417.         string impl_refdata_bkup);
  418. typedef somTP_ImplementationDef__set_impl_refdata_bkup *somTD_ImplementationDef__set_impl_refdata_bkup;
  419. #define somMD_ImplementationDef__set_impl_refdata_bkup "::ImplementationDef::_set_impl_refdata_bkup"
  420. #define ImplementationDef__set_impl_refdata_bkup(somSelf,ev,impl_refdata_bkup) \
  421.     (SOM_Resolve(somSelf, ImplementationDef, _set_impl_refdata_bkup) \
  422.     (somSelf,ev,impl_refdata_bkup))
  423. #ifndef SOMGD_set_impl_refdata_bkup
  424.     #if (defined(_set_impl_refdata_bkup) || defined(__set_impl_refdata_bkup))
  425.         #undef _set_impl_refdata_bkup
  426.         #undef __set_impl_refdata_bkup
  427.         #define SOMGD_set_impl_refdata_bkup 1
  428.     #else
  429.         #define __set_impl_refdata_bkup ImplementationDef__set_impl_refdata_bkup
  430.     #endif /* __set_impl_refdata_bkup */
  431. #endif /* SOMGD_set_impl_refdata_bkup */
  432.  
  433. /*
  434.  * New Method: _get_impl_hostname
  435.  */
  436. typedef string   SOMLINK somTP_ImplementationDef__get_impl_hostname(ImplementationDef *somSelf, Environment *ev);
  437. typedef somTP_ImplementationDef__get_impl_hostname *somTD_ImplementationDef__get_impl_hostname;
  438. #define somMD_ImplementationDef__get_impl_hostname "::ImplementationDef::_get_impl_hostname"
  439. #define ImplementationDef__get_impl_hostname(somSelf,ev) \
  440.     (SOM_Resolve(somSelf, ImplementationDef, _get_impl_hostname) \
  441.     (somSelf,ev))
  442. #ifndef SOMGD_get_impl_hostname
  443.     #if (defined(_get_impl_hostname) || defined(__get_impl_hostname))
  444.         #undef _get_impl_hostname
  445.         #undef __get_impl_hostname
  446.         #define SOMGD_get_impl_hostname 1
  447.     #else
  448.         #define __get_impl_hostname ImplementationDef__get_impl_hostname
  449.     #endif /* __get_impl_hostname */
  450. #endif /* SOMGD_get_impl_hostname */
  451.  
  452. /*
  453.  * New Method: _set_impl_hostname
  454.  */
  455. typedef void   SOMLINK somTP_ImplementationDef__set_impl_hostname(ImplementationDef *somSelf, Environment *ev,
  456.         string impl_hostname);
  457. typedef somTP_ImplementationDef__set_impl_hostname *somTD_ImplementationDef__set_impl_hostname;
  458. #define somMD_ImplementationDef__set_impl_hostname "::ImplementationDef::_set_impl_hostname"
  459. #define ImplementationDef__set_impl_hostname(somSelf,ev,impl_hostname) \
  460.     (SOM_Resolve(somSelf, ImplementationDef, _set_impl_hostname) \
  461.     (somSelf,ev,impl_hostname))
  462. #ifndef SOMGD_set_impl_hostname
  463.     #if (defined(_set_impl_hostname) || defined(__set_impl_hostname))
  464.         #undef _set_impl_hostname
  465.         #undef __set_impl_hostname
  466.         #define SOMGD_set_impl_hostname 1
  467.     #else
  468.         #define __set_impl_hostname ImplementationDef__set_impl_hostname
  469.     #endif /* __set_impl_hostname */
  470. #endif /* SOMGD_set_impl_hostname */
  471. #ifndef SOM_DONT_USE_INHERITED_MACROS
  472. #define ImplementationDef_somDefaultInit SOMObject_somDefaultInit
  473. #define ImplementationDef_somDestruct SOMObject_somDestruct
  474. #define ImplementationDef_somDefaultCopyInit SOMObject_somDefaultCopyInit
  475. #define ImplementationDef_somDefaultAssign SOMObject_somDefaultAssign
  476. #define ImplementationDef_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  477. #define ImplementationDef_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  478. #define ImplementationDef_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  479. #define ImplementationDef_somDefaultConstAssign SOMObject_somDefaultConstAssign
  480. #define ImplementationDef_somDefaultVAssign SOMObject_somDefaultVAssign
  481. #define ImplementationDef_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  482. #define ImplementationDef_somInit SOMObject_somInit
  483. #define ImplementationDef_somFree SOMObject_somFree
  484. #define ImplementationDef_somUninit SOMObject_somUninit
  485. #define ImplementationDef_somGetClass SOMObject_somGetClass
  486. #define ImplementationDef_somGetClassName SOMObject_somGetClassName
  487. #define ImplementationDef_somGetSize SOMObject_somGetSize
  488. #define ImplementationDef_somIsA SOMObject_somIsA
  489. #define ImplementationDef_somIsInstanceOf SOMObject_somIsInstanceOf
  490. #define ImplementationDef_somRespondsTo SOMObject_somRespondsTo
  491. #define ImplementationDef_somDispatch SOMObject_somDispatch
  492. #define ImplementationDef_somClassDispatch SOMObject_somClassDispatch
  493. #define ImplementationDef_somCastObj SOMObject_somCastObj
  494. #define ImplementationDef_somResetObj SOMObject_somResetObj
  495. #define ImplementationDef_somPrintSelf SOMObject_somPrintSelf
  496. #define ImplementationDef_somDumpSelf SOMObject_somDumpSelf
  497. #define ImplementationDef_somDumpSelfInt SOMObject_somDumpSelfInt
  498. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  499.  
  500. #endif       /* SOM_ImplementationDef_h */
  501.