home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / toolkt21 / c / os2h / wprootf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-01  |  5.7 KB  |  230 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wprootf.h.
  5.  * Generated using:
  6.  *     SOM Precompiler spc: 1.22
  7.  *     SOM Emitter emith: 1.11
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *  Module Header
  13.  * 
  14.  *  Module Name: WPROOTF
  15.  * 
  16.  *  OS/2 Presentation Manager Workplace class definitions
  17.  * 
  18.  *  Copyright (c) International Business Machines Corporation 1991, 1992
  19.  * 
  20.  */
  21.  
  22.  
  23. #ifndef wprootf_h
  24. #define wprootf_h
  25.  
  26.  
  27. #include <som.h>
  28.  
  29. /*
  30.  * Define the class name as an object type
  31.  */
  32. #ifndef WPRootFolder
  33. #define WPRootFolder SOMAny
  34. #endif
  35. #include "wpfolder.h"
  36.  
  37. #define WPRootFolder_MajorVersion 1
  38. #define WPRootFolder_MinorVersion 2
  39.  
  40. /*
  41.  * External name shortening if required
  42.  */
  43. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  44. #define WPRootFolderNewClass wprfc
  45. #pragma linkage(wprfc, system)
  46. #define WPRootFolderClassData wprfd
  47. #define WPRootFolderCClassData wprfx
  48. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  49. /*--------------Migration------------*/
  50. #define WPRootFolder_classObj WPRootFolderClassData.classObject
  51. #define _WPRootFolder WPRootFolder_classObj
  52.  
  53. /*
  54.  * New and Renew macros for WPRootFolder
  55.  */
  56. #define _WPRootFolderNew() (_somNew(WPRootFolderClassData.classObject))
  57. #define WPRootFolderNew() \
  58.     ( WPRootFolderClassData.classObject \
  59.         ? _WPRootFolderNew() \
  60.         : ( WPRootFolderNewClass(WPRootFolder_MajorVersion, WPRootFolder_MinorVersion), _WPRootFolderNew() ) )
  61. #define WPRootFolderRenew(buf) \
  62.     ( _somRenew(WPRootFolderClassData.classObject, buf) )
  63.  
  64. /*
  65.  * Override method: wpFilterPopupMenu
  66.  */
  67. #define WPRootFolder_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
  68.     WPObject_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect)
  69.  
  70. /*
  71.  * Override method: wpSetTitle
  72.  */
  73. #define WPRootFolder_wpSetTitle(somSelf,pszNewTitle) \
  74.     WPObject_wpSetTitle(somSelf,pszNewTitle)
  75.  
  76. /*
  77.  * Override method: wpOpen
  78.  */
  79. #define WPRootFolder_wpOpen(somSelf,hwndCnr,ulView,param) \
  80.     WPObject_wpOpen(somSelf,hwndCnr,ulView,param)
  81.  
  82. /*
  83.  * Override method: wpSaveState
  84.  */
  85. #define WPRootFolder_wpSaveState(somSelf) \
  86.     WPObject_wpSaveState(somSelf)
  87.  
  88. /*
  89.  * Override method: wpRestoreState
  90.  */
  91. #define WPRootFolder_wpRestoreState(somSelf,ulReserved) \
  92.     WPObject_wpRestoreState(somSelf,ulReserved)
  93.  
  94. /*
  95.  * Override method: wpAddFile1Page
  96.  */
  97. #define WPRootFolder_wpAddFile1Page(somSelf,hwndNotebook) \
  98.     WPFileSystem_wpAddFile1Page(somSelf,hwndNotebook)
  99.  
  100. /*
  101.  * Override method: wpAddFile2Page
  102.  */
  103. #define WPRootFolder_wpAddFile2Page(somSelf,hwndNotebook) \
  104.     WPFileSystem_wpAddFile2Page(somSelf,hwndNotebook)
  105.  
  106. /*
  107.  * Override method: wpAddFile3Page
  108.  */
  109. #define WPRootFolder_wpAddFile3Page(somSelf,hwndNotebook) \
  110.     WPFileSystem_wpAddFile3Page(somSelf,hwndNotebook)
  111.  
  112. /*
  113.  * Override method: wpSetDefaultView
  114.  */
  115. #define WPRootFolder_wpSetDefaultView(somSelf,ulView) \
  116.     WPObject_wpSetDefaultView(somSelf,ulView)
  117.  
  118. /*
  119.  * Declare the class creation procedure
  120.  */
  121. SOMEXTERN SOMAny * SOMLINK WPRootFolderNewClass(integer4 scemajorVersion,
  122.         integer4 sceminorVersion);
  123. #pragma linkage(WPRootFolderNewClass, system)
  124.  
  125. /*
  126.  * Declare the class data structure
  127.  */
  128. SOMEXTERN struct WPRootFolderClassDataStructure {
  129.     SOMAny *classObject;
  130.     somMToken wpSetViewTitle;
  131. } WPRootFolderClassData;
  132.  
  133. /*
  134.  * Declare the C specific class data structure
  135.  */
  136. SOMEXTERN struct WPRootFolderCClassDataStructure {
  137.     somMethodTab *parentMtab;
  138.     somDToken instanceDataToken;
  139. } WPRootFolderCClassData;
  140.  
  141. #endif       /* wprootf_h */
  142.  
  143. /*
  144.  * This file was generated by the SOM Compiler.
  145.  * FileName: wprootf.h.
  146.  * Generated using:
  147.  *     SOM Precompiler spc: 1.22
  148.  *     SOM Emitter emith: 1.11
  149.  */
  150.  
  151. #ifndef wprootf_mh
  152. #define wprootf_mh
  153.  
  154.  
  155. /*
  156.  * Define the class name as an object type
  157.  */
  158. #ifndef M_WPRootFolder
  159. #define M_WPRootFolder SOMAny
  160. #endif
  161.  
  162. #define M_WPRootFolder_MajorVersion 1
  163. #define M_WPRootFolder_MinorVersion 2
  164.  
  165. /*
  166.  * External name shortening if required
  167.  */
  168. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  169. #define M_WPRootFolderNewClass wprfc
  170. #pragma linkage(wprfc, system)
  171. #define M_WPRootFolderClassData wprfd
  172. #define M_WPRootFolderCClassData wprfx
  173. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  174. /*--------------Migration------------*/
  175. #define M_WPRootFolder_classObj M_WPRootFolderClassData.classObject
  176. #define _M_WPRootFolder M_WPRootFolder_classObj
  177.  
  178. /*
  179.  * New and Renew macros for M_WPRootFolder
  180.  */
  181. #define _M_WPRootFolderNew() (_somNew(M_WPRootFolderClassData.classObject))
  182. #define M_WPRootFolderNew() \
  183.     ( M_WPRootFolderClassData.classObject \
  184.         ? _M_WPRootFolderNew() \
  185.         : ( M_WPRootFolderNewClass(M_WPRootFolder_MajorVersion, M_WPRootFolder_MinorVersion), _M_WPRootFolderNew() ) )
  186. #define M_WPRootFolderRenew(buf) \
  187.     ( _somRenew(M_WPRootFolderClassData.classObject, buf) )
  188.  
  189. /*
  190.  * Override method: wpclsQueryStyle
  191.  */
  192. #define M_WPRootFolder_wpclsQueryStyle(somSelf) \
  193.     M_WPObject_wpclsQueryStyle(somSelf)
  194.  
  195. /*
  196.  * Override method: wpclsInitData
  197.  */
  198. #define M_WPRootFolder_wpclsInitData(somSelf) \
  199.     M_WPObject_wpclsInitData(somSelf)
  200.  
  201. /*
  202.  * Override method: wpclsUnInitData
  203.  */
  204. #define M_WPRootFolder_wpclsUnInitData(somSelf) \
  205.     M_WPObject_wpclsUnInitData(somSelf)
  206.  
  207. /*
  208.  * Declare the class creation procedure
  209.  */
  210. SOMEXTERN SOMAny * SOMLINK M_WPRootFolderNewClass(integer4 scemajorVersion,
  211.         integer4 sceminorVersion);
  212. #pragma linkage(M_WPRootFolderNewClass, system)
  213.  
  214. /*
  215.  * Declare the class data structure
  216.  */
  217. SOMEXTERN struct M_WPRootFolderClassDataStructure {
  218.     SOMAny *classObject;
  219. } M_WPRootFolderClassData;
  220.  
  221. /*
  222.  * Declare the C specific class data structure
  223.  */
  224. SOMEXTERN struct M_WPRootFolderCClassDataStructure {
  225.     somMethodTab *parentMtab;
  226.     somDToken instanceDataToken;
  227. } M_WPRootFolderCClassData;
  228.  
  229. #endif       /* wprootf_h */
  230.