home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK2.DSK / WPLOCATR.H < prev    next >
C/C++ Source or Header  |  1994-10-07  |  34KB  |  791 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wplocatr.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somopc: 2.7
  7.  *     SOM Emitter emith: 2.22
  8.  */
  9.  
  10. /*
  11.  *  SCC: @(#) 47 4/28/94 09:57:08 1.13 @(#)
  12.  *  Module Header
  13.  * 
  14.  *  Module Name: WPLOCATR
  15.  * 
  16.  *  OS/2 Presentation Manager Workplace class definitions
  17.  * 
  18.  *  Copyright (c) International Business Machines Corporation 1992
  19.  * 
  20.  */
  21.  
  22.  
  23. #ifndef SOM_PenLocator_h
  24. #define SOM_PenLocator_h
  25.  
  26.  
  27. /*
  28.  * Passthru lines: File: "C.ph", "before"
  29.  */
  30.  
  31. #define LOCATOR_VERSION_MAJOR           1
  32. #define LOCATOR_VERSION_MINOR           1
  33.  
  34. #define SVDEFAULT_DBL_TAP_RATE         700
  35.  
  36. /* help res ids */
  37.  
  38. #define PENLOCATOR_DEFAULTHELP 40068
  39. #define TIMINGDLG_HELPRES      40069
  40. #define CALIBRATE_HELPRES      20798
  41.  
  42.  
  43. #include <som.h>
  44.  
  45. /*
  46.  * -- This emitter treats Method Tokens as Thunks by default
  47.  * -- Use the sc modifier "nothunks" to change this default
  48.  */
  49. #undef somresolve_
  50. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  51.  
  52. /*
  53.  * Define the class name as an object type
  54.  */
  55. #ifndef PenLocator
  56. #define PenLocator SOMObject
  57. #endif
  58. #include <penbtndv.h>
  59.  
  60. /*
  61.  * Start of user-defined types:
  62.  */
  63.  
  64. /*
  65.  * End of user-defined types.
  66.  */
  67.  
  68. #define PenLocator_MajorVersion 1
  69. #define PenLocator_MinorVersion 1
  70.  
  71. /*
  72.  * External name shortening if required
  73.  */
  74. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  75. #define PenLocatorNewClass WPlctc
  76. #pragma linkage(WPlctc, system)
  77. #define PenLocatorClassData WPlctd
  78. #define PenLocatorCClassData WPlctx
  79. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  80. /*--------------Migration------------*/
  81. #define PenLocator_classObj PenLocatorClassData.classObject
  82. #define _PenLocator PenLocator_classObj
  83.  
  84. /*
  85.  * Declare the class creation procedure
  86.  */
  87. SOMEXTERN SOMClass * SOMLINK PenLocatorNewClass(integer4 somtmajorVersion,
  88.         integer4 somtminorVersion);
  89. #pragma linkage(PenLocatorNewClass, system)
  90.  
  91. /*
  92.  * Declare the class data structure
  93.  */
  94. SOMEXTERN struct PenLocatorClassDataStructure {
  95.     SOMAny *classObject;
  96.     somMToken penAddLocatorTimingPage;
  97.     somMToken penQueryCalProgram;
  98.     somMToken penSetCalProgram;
  99.     somMToken penDummyPrivate;
  100.     somMToken penSetCalParms;
  101.     somMToken penQueryCalParms;
  102. } PenLocatorClassData;
  103.  
  104. /*
  105.  * Declare the C specific class data structure
  106.  */
  107. SOMEXTERN struct PenLocatorCClassDataStructure {
  108.     somMethodTabs parentMtab;
  109.     somDToken instanceDataToken;
  110. } PenLocatorCClassData;
  111.  
  112. /*
  113.  * New and Renew macros for PenLocator
  114.  */
  115. #define PenLocatorNew() \
  116.     ( PenLocatorClassData.classObject \
  117.         ? (_somNew(PenLocatorClassData.classObject)) \
  118.         : ( PenLocatorNewClass(PenLocator_MajorVersion, PenLocator_MinorVersion), (_somNew(PenLocatorClassData.classObject)) ) )
  119. #define PenLocatorRenew(buf) \
  120.     ( _somRenew(PenLocatorClassData.classObject, buf) )
  121.  
  122. /*
  123.  * Override method: wpOpen
  124.  */
  125. #define PenLocator_wpOpen(somSelf,hwndCnr,ulView,param) \
  126.     WPObject_wpOpen(somSelf,hwndCnr,ulView,param)
  127.  
  128. /*
  129.  * Override method: wpAddSettingsPages
  130.  */
  131. #define PenLocator_wpAddSettingsPages(somSelf,hwndNotebook) \
  132.     WPObject_wpAddSettingsPages(somSelf,hwndNotebook)
  133.  
  134. /*
  135.  * Override method: wpAddObjectWindowPage
  136.  */
  137. #define PenLocator_wpAddObjectWindowPage(somSelf,hwndNotebook) \
  138.     WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)
  139.  
  140. /*
  141.  * Override method: wpFilterPopupMenu
  142.  */
  143. #define PenLocator_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
  144.     WPObject_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect)
  145.  
  146. /*
  147.  * Override method: wpSetup
  148.  */
  149. #define PenLocator_wpSetup(somSelf,pszSetupString) \
  150.     WPObject_wpSetup(somSelf,pszSetupString)
  151.  
  152. /*
  153.  * Override method: wpInitData
  154.  */
  155. #define PenLocator_wpInitData(somSelf) \
  156.     WPObject_wpInitData(somSelf)
  157.  
  158. /*
  159.  * Override method: wpUnInitData
  160.  */
  161. #define PenLocator_wpUnInitData(somSelf) \
  162.     WPObject_wpUnInitData(somSelf)
  163.  
  164. /*
  165.  * Override method: wpRestoreState
  166.  */
  167. #define PenLocator_wpRestoreState(somSelf,ulReserved) \
  168.     WPObject_wpRestoreState(somSelf,ulReserved)
  169.  
  170. /*
  171.  * Override method: wpSaveState
  172.  */
  173. #define PenLocator_wpSaveState(somSelf) \
  174.     WPObject_wpSaveState(somSelf)
  175.  
  176. /*
  177.  * Override method: wpModifyPopupMenu
  178.  */
  179. #define PenLocator_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) \
  180.     WPObject_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition)
  181.  
  182. /*
  183.  * Override method: wpMenuItemSelected
  184.  */
  185. #define PenLocator_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
  186.     WPObject_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId)
  187.  
  188. /*
  189.  * Override method: wpMenuItemHelpSelected
  190.  */
  191. #define PenLocator_wpMenuItemHelpSelected(somSelf,MenuId) \
  192.     WPObject_wpMenuItemHelpSelected(somSelf,MenuId)
  193.  
  194. /*
  195.  * New Method: penAddLocatorTimingPage
  196.  */
  197. typedef ULONG    SOMLINK somTP_PenLocator_penAddLocatorTimingPage(PenLocator *somSelf,
  198.         HWND hwndNotebook);
  199. #pragma linkage(somTP_PenLocator_penAddLocatorTimingPage, system)
  200. typedef somTP_PenLocator_penAddLocatorTimingPage *somTD_PenLocator_penAddLocatorTimingPage;
  201. #define somMD_PenLocator_penAddLocatorTimingPage "----"
  202. #define PenLocator_penAddLocatorTimingPage(somSelf,hwndNotebook) \
  203.     (SOM_Resolve(somSelf, PenLocator, penAddLocatorTimingPage) \
  204.     (somSelf,hwndNotebook))
  205. #ifndef SOMGD_penAddLocatorTimingPage
  206.     #if (defined(_penAddLocatorTimingPage) || defined(__penAddLocatorTimingPage))
  207.         #undef _penAddLocatorTimingPage
  208.         #undef __penAddLocatorTimingPage
  209.         #define SOMGD_penAddLocatorTimingPage 1
  210.     #else
  211.         #define _penAddLocatorTimingPage PenLocator_penAddLocatorTimingPage
  212.     #endif /* _penAddLocatorTimingPage */
  213. #endif /* SOMGD_penAddLocatorTimingPage */
  214.  
  215. /*
  216.  * New Method: penSetCalProgram
  217.  */
  218. typedef BOOL    SOMLINK somTP_PenLocator_penSetCalProgram(PenLocator *somSelf,
  219.         PSZ pszName);
  220. #pragma linkage(somTP_PenLocator_penSetCalProgram, system)
  221. typedef somTP_PenLocator_penSetCalProgram *somTD_PenLocator_penSetCalProgram;
  222. #define somMD_PenLocator_penSetCalProgram "----"
  223. #define PenLocator_penSetCalProgram(somSelf,pszName) \
  224.     (SOM_Resolve(somSelf, PenLocator, penSetCalProgram) \
  225.     (somSelf,pszName))
  226. #ifndef SOMGD_penSetCalProgram
  227.     #if (defined(_penSetCalProgram) || defined(__penSetCalProgram))
  228.         #undef _penSetCalProgram
  229.         #undef __penSetCalProgram
  230.         #define SOMGD_penSetCalProgram 1
  231.     #else
  232.         #define _penSetCalProgram PenLocator_penSetCalProgram
  233.     #endif /* _penSetCalProgram */
  234. #endif /* SOMGD_penSetCalProgram */
  235.  
  236. /*
  237.  * New Method: penQueryCalProgram
  238.  */
  239. typedef PSZ    SOMLINK somTP_PenLocator_penQueryCalProgram(PenLocator *somSelf);
  240. #pragma linkage(somTP_PenLocator_penQueryCalProgram, system)
  241. typedef somTP_PenLocator_penQueryCalProgram *somTD_PenLocator_penQueryCalProgram;
  242. #define somMD_PenLocator_penQueryCalProgram "----"
  243. #define PenLocator_penQueryCalProgram(somSelf) \
  244.     (SOM_Resolve(somSelf, PenLocator, penQueryCalProgram) \
  245.     (somSelf))
  246. #ifndef SOMGD_penQueryCalProgram
  247.     #if (defined(_penQueryCalProgram) || defined(__penQueryCalProgram))
  248.         #undef _penQueryCalProgram
  249.         #undef __penQueryCalProgram
  250.         #define SOMGD_penQueryCalProgram 1
  251.     #else
  252.         #define _penQueryCalProgram PenLocator_penQueryCalProgram
  253.     #endif /* _penQueryCalProgram */
  254. #endif /* SOMGD_penQueryCalProgram */
  255.  
  256. /*
  257.  * New Method: penSetCalParms
  258.  */
  259. typedef BOOL    SOMLINK somTP_PenLocator_penSetCalParms(PenLocator *somSelf,
  260.         PSZ pszCalParms);
  261. #pragma linkage(somTP_PenLocator_penSetCalParms, system)
  262. typedef somTP_PenLocator_penSetCalParms *somTD_PenLocator_penSetCalParms;
  263. #define somMD_PenLocator_penSetCalParms "----"
  264. #define PenLocator_penSetCalParms(somSelf,pszCalParms) \
  265.     (SOM_Resolve(somSelf, PenLocator, penSetCalParms) \
  266.     (somSelf,pszCalParms))
  267. #ifndef SOMGD_penSetCalParms
  268.     #if (defined(_penSetCalParms) || defined(__penSetCalParms))
  269.         #undef _penSetCalParms
  270.         #undef __penSetCalParms
  271.         #define SOMGD_penSetCalParms 1
  272.     #else
  273.         #define _penSetCalParms PenLocator_penSetCalParms
  274.     #endif /* _penSetCalParms */
  275. #endif /* SOMGD_penSetCalParms */
  276.  
  277. /*
  278.  * New Method: penQueryCalParms
  279.  */
  280. typedef PSZ    SOMLINK somTP_PenLocator_penQueryCalParms(PenLocator *somSelf);
  281. #pragma linkage(somTP_PenLocator_penQueryCalParms, system)
  282. typedef somTP_PenLocator_penQueryCalParms *somTD_PenLocator_penQueryCalParms;
  283. #define somMD_PenLocator_penQueryCalParms "----"
  284. #define PenLocator_penQueryCalParms(somSelf) \
  285.     (SOM_Resolve(somSelf, PenLocator, penQueryCalParms) \
  286.     (somSelf))
  287. #ifndef SOMGD_penQueryCalParms
  288.     #if (defined(_penQueryCalParms) || defined(__penQueryCalParms))
  289.         #undef _penQueryCalParms
  290.         #undef __penQueryCalParms
  291.         #define SOMGD_penQueryCalParms 1
  292.     #else
  293.         #define _penQueryCalParms PenLocator_penQueryCalParms
  294.     #endif /* _penQueryCalParms */
  295. #endif /* SOMGD_penQueryCalParms */
  296.  
  297. /*
  298.  * New Name Lookup Method: penDummyPrivate
  299.  */
  300. typedef PSZ    SOMLINK somTP_PenLocator_penDummyPrivate(PenLocator *somSelf);
  301. #pragma linkage(somTP_PenLocator_penDummyPrivate, system)
  302. typedef somTP_PenLocator_penDummyPrivate *somTD_PenLocator_penDummyPrivate;
  303. #define somMD_PenLocator_penDummyPrivate "----"
  304. #define PenLocator_penDummyPrivate(somSelf) \
  305.     (SOM_Resolve(somSelf, PenLocator, penDummyPrivate) \
  306.     (somSelf))
  307.  
  308. #ifndef lookup_penDummyPrivate
  309. static char *somLMN_penDummyPrivate = "penDummyPrivate";
  310. static somId somLId_penDummyPrivate = &somLMN_penDummyPrivate;
  311. #define lookup_penDummyPrivate(somSelf) \
  312.     ((( somTD_PenLocator_penDummyPrivate ) \
  313.     _somLookupMethod(SOM_GetClass(somSelf), somLId_penDummyPrivate)) \
  314.         (somSelf))
  315. #define _penDummyPrivate lookup_penDummyPrivate
  316. #endif     /* lookup_penDummyPrivate */
  317. #ifndef SOM_DONT_USE_INHERITED_MACROS
  318. #define PenLocator_penAddButtonsMappingsPage PenButtonDevice_penAddButtonsMappingsPage
  319. #define PenLocator_penQueryButtonData PenButtonDevice_penQueryButtonData
  320. #define PenLocator_penSetButtonData PenButtonDevice_penSetButtonData
  321. #define PenLocator_penclsQueryButtonData PenButtonDevice_penclsQueryButtonData
  322. #define PenLocator_wpclsInitData WPObject_wpclsInitData
  323. #define PenLocator_wpclsNew WPObject_wpclsNew
  324. #define PenLocator_wpQueryHandle WPObject_wpQueryHandle
  325. #define PenLocator_wpSaveImmediate WPObject_wpSaveImmediate
  326. #define PenLocator_wpSetTitle WPObject_wpSetTitle
  327. #define PenLocator_wpCopyObject WPObject_wpCopyObject
  328. #define PenLocator_wpMoveObject WPObject_wpMoveObject
  329. #define PenLocator_wpQueryIconData WPObject_wpQueryIconData
  330. #define PenLocator_wpSetIconData WPObject_wpSetIconData
  331. #define PenLocator_wpDragOver WPObject_wpDragOver
  332. #define PenLocator_wpReplaceObject WPObject_wpReplaceObject
  333. #define PenLocator_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  334. #define PenLocator_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
  335. #define PenLocator_wpAddToObjUseList WPObject_wpAddToObjUseList
  336. #define PenLocator_wpAllocMem WPObject_wpAllocMem
  337. #define PenLocator_wpAppendObject WPObject_wpAppendObject
  338. #define PenLocator_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
  339. #define PenLocator_wpClose WPObject_wpClose
  340. #define PenLocator_wpCnrInsertObject WPObject_wpCnrInsertObject
  341. #define PenLocator_wpCnrRemoveObject WPObject_wpCnrRemoveObject
  342. #define PenLocator_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
  343. #define PenLocator_wpConfirmDelete WPObject_wpConfirmDelete
  344. #define PenLocator_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
  345. #define PenLocator_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
  346. #define PenLocator_wpCopyObject WPObject_wpCopyObject
  347. #define PenLocator_wpCreateAnother WPObject_wpCreateAnother
  348. #define PenLocator_wpCreateFromTemplate WPObject_wpCreateFromTemplate
  349. #define PenLocator_wpCreateShadowObject WPObject_wpCreateShadowObject
  350. #define PenLocator_wpDelete WPObject_wpDelete
  351. #define PenLocator_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
  352. #define PenLocator_wpDisplayHelp WPObject_wpDisplayHelp
  353. #define PenLocator_wpDoesObjectMatch WPObject_wpDoesObjectMatch
  354. #define PenLocator_wpDraggedOverObject WPObject_wpDraggedOverObject
  355. #define PenLocator_wpDragOver WPObject_wpDragOver
  356. #define PenLocator_wpDrop WPObject_wpDrop
  357. #define PenLocator_wpDroppedOnObject WPObject_wpDroppedOnObject
  358. #define PenLocator_wpEndConversation WPObject_wpEndConversation
  359. #define PenLocator_wpFindUseItem WPObject_wpFindUseItem
  360. #define PenLocator_wpFormatDragItem WPObject_wpFormatDragItem
  361. #define PenLocator_wpFree WPObject_wpFree
  362. #define PenLocator_wpFreeMem WPObject_wpFreeMem
  363. #define PenLocator_wpHide WPObject_wpHide
  364. #define PenLocator_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
  365. #define PenLocator_wpInsertSettingsPage WPObject_wpInsertSettingsPage
  366. #define PenLocator_wpMoveObject WPObject_wpMoveObject
  367. #define PenLocator_wpPrintObject WPObject_wpPrintObject
  368. #define PenLocator_wpQueryConcurrentView WPObject_wpQueryConcurrentView
  369. #define PenLocator_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
  370. #define PenLocator_wpQueryConfirmations WPObject_wpQueryConfirmations
  371. #define PenLocator_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
  372. #define PenLocator_wpQueryDefaultView WPObject_wpQueryDefaultView
  373. #define PenLocator_wpQueryDetailsData WPObject_wpQueryDetailsData
  374. #define PenLocator_wpQueryError WPObject_wpQueryError
  375. #define PenLocator_wpQueryIcon WPObject_wpQueryIcon
  376. #define PenLocator_wpQueryIconData WPObject_wpQueryIconData
  377. #define PenLocator_wpQueryMinWindow WPObject_wpQueryMinWindow
  378. #define PenLocator_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  379. #define PenLocator_wpQueryStyle WPObject_wpQueryStyle
  380. #define PenLocator_wpSetTaskRec WPObject_wpSetTaskRec
  381. #define PenLocator_wpFindTaskRec WPObject_wpFindTaskRec
  382. #define PenLocator_wpQueryTitle WPObject_wpQueryTitle
  383. #define PenLocator_wpRegisterView WPObject_wpRegisterView
  384. #define PenLocator_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
  385. #define PenLocator_wpRender WPObject_wpRender
  386. #define PenLocator_wpRenderComplete WPObject_wpRenderComplete
  387. #define PenLocator_wpReplaceObject WPObject_wpReplaceObject
  388. #define PenLocator_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
  389. #define PenLocator_wpRestore WPObject_wpRestore
  390. #define PenLocator_wpRestoreData WPObject_wpRestoreData
  391. #define PenLocator_wpRestoreLong WPObject_wpRestoreLong
  392. #define PenLocator_wpRestoreString WPObject_wpRestoreString
  393. #define PenLocator_wpSaveData WPObject_wpSaveData
  394. #define PenLocator_wpSaveImmediate WPObject_wpSaveImmediate
  395. #define PenLocator_wpSaveDeferred WPObject_wpSaveDeferred
  396. #define PenLocator_wpSaveLong WPObject_wpSaveLong
  397. #define PenLocator_wpSaveString WPObject_wpSaveString
  398. #define PenLocator_wpScanSetupString WPObject_wpScanSetupString
  399. #define PenLocator_wpSetConcurrentView WPObject_wpSetConcurrentView
  400. #define PenLocator_wpSetButtonAppearance WPObject_wpSetButtonAppearance
  401. #define PenLocator_wpSetDefaultHelp WPObject_wpSetDefaultHelp
  402. #define PenLocator_wpSetDefaultView WPObject_wpSetDefaultView
  403. #define PenLocator_wpSetError WPObject_wpSetError
  404. #define PenLocator_wpSetIcon WPObject_wpSetIcon
  405. #define PenLocator_wpSetIconData WPObject_wpSetIconData
  406. #define PenLocator_wpSetMinWindow WPObject_wpSetMinWindow
  407. #define PenLocator_wpSetStyle WPObject_wpSetStyle
  408. #define PenLocator_wpModifyStyle WPObject_wpModifyStyle
  409. #define PenLocator_wpSetTitle WPObject_wpSetTitle
  410. #define PenLocator_wpSwitchTo WPObject_wpSwitchTo
  411. #define PenLocator_wpViewObject WPObject_wpViewObject
  412. #define PenLocator_wpQueryTrueStyle WPObject_wpQueryTrueStyle
  413. #define PenLocator_wpQueryHandle WPObject_wpQueryHandle
  414. #define PenLocator_wpUnlockObject WPObject_wpUnlockObject
  415. #define PenLocator_somInit SOMObject_somInit
  416. #define PenLocator_wpclsCreateDefaultTemplates WPObject_wpclsCreateDefaultTemplates
  417. #define PenLocator_wpclsInitData WPObject_wpclsInitData
  418. #define PenLocator_wpclsMakeAwake WPObject_wpclsMakeAwake
  419. #define PenLocator_wpclsNew WPObject_wpclsNew
  420. #define PenLocator_wpclsQueryDetails WPObject_wpclsQueryDetails
  421. #define PenLocator_wpclsQueryDetailsInfo WPObject_wpclsQueryDetailsInfo
  422. #define PenLocator_wpclsQueryExtendedCriteria WPObject_wpclsQueryExtendedCriteria
  423. #define PenLocator_wpclsQueryFolder WPObject_wpclsQueryFolder
  424. #define PenLocator_wpclsQueryIcon WPObject_wpclsQueryIcon
  425. #define PenLocator_wpclsQuerySearchInfo WPObject_wpclsQuerySearchInfo
  426. #define PenLocator_wpclsUnInitData WPObject_wpclsUnInitData
  427. #define PenLocator_wpclsFindObjectFirst WPObject_wpclsFindObjectFirst
  428. #define PenLocator_wpclsFindObjectNext WPObject_wpclsFindObjectNext
  429. #define PenLocator_wpclsFindObjectEnd WPObject_wpclsFindObjectEnd
  430. #define PenLocator_wpclsSetError WPObject_wpclsSetError
  431. #define PenLocator_wpclsQueryError WPObject_wpclsQueryError
  432. #define PenLocator_wpclsQuerySettingsPageSize WPObject_wpclsQuerySettingsPageSize
  433. #define PenLocator_wpclsQueryObject WPObject_wpclsQueryObject
  434. #define PenLocator_wpclsQueryButtonAppearance WPObject_wpclsQueryButtonAppearance
  435. #define PenLocator_somUninit SOMObject_somUninit
  436. #define PenLocator_somInitClass SOMClass_somInitClass
  437. #define PenLocator_somNew SOMClass_somNew
  438. #define PenLocator_somRenew SOMClass_somRenew
  439. #define PenLocator_somFree SOMObject_somFree
  440. #define PenLocator_somInit SOMObject_somInit
  441. #define PenLocator_somUninit SOMObject_somUninit
  442. #define PenLocator_somGetClass SOMObject_somGetClass
  443. #define PenLocator_somGetClassName SOMObject_somGetClassName
  444. #define PenLocator_somGetSize SOMObject_somGetSize
  445. #define PenLocator_somIsA SOMObject_somIsA
  446. #define PenLocator_somIsInstanceOf SOMObject_somIsInstanceOf
  447. #define PenLocator_somRespondsTo SOMObject_somRespondsTo
  448. #define PenLocator_somDispatchV SOMObject_somDispatchV
  449. #define PenLocator_somDispatchL SOMObject_somDispatchL
  450. #define PenLocator_somDispatchA SOMObject_somDispatchA
  451. #define PenLocator_somDispatchD SOMObject_somDispatchD
  452. #define PenLocator_somDispatch SOMObject_somDispatch
  453. #define PenLocator_somClassDispatch SOMObject_somClassDispatch
  454. #define PenLocator_somPrintSelf SOMObject_somPrintSelf
  455. #define PenLocator_somDumpSelf SOMObject_somDumpSelf
  456. #define PenLocator_somDumpSelfInt SOMObject_somDumpSelfInt
  457. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  458.  
  459. #endif       /* SOM_PenLocator_h */
  460.  
  461. #ifndef SOM_M_M_PenLocator_mh
  462. #define SOM_M_M_PenLocator_mh
  463.  
  464.  
  465. /*
  466.  * -- This emitter treats Method Tokens as Thunks by default
  467.  * -- Use the sc modifier "nothunks" to change this default
  468.  */
  469. #undef somresolve_
  470. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  471.  
  472. /*
  473.  * Define the class name as an object type
  474.  */
  475. #ifndef M_PenLocator
  476. #define M_PenLocator SOMObject
  477. #endif
  478.  
  479. /*
  480.  * Start of user-defined types:
  481.  */
  482.  
  483. /*
  484.  * End of user-defined types.
  485.  */
  486.  
  487. #define M_PenLocator_MajorVersion 1
  488. #define M_PenLocator_MinorVersion 1
  489.  
  490. /*
  491.  * External name shortening if required
  492.  */
  493. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  494. #define M_PenLocatorNewClass WPlctc
  495. #pragma linkage(WPlctc, system)
  496. #define M_PenLocatorClassData WPlctd
  497. #define M_PenLocatorCClassData WPlctx
  498. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  499. /*--------------Migration------------*/
  500. #define M_PenLocator_classObj M_PenLocatorClassData.classObject
  501. #define _M_PenLocator M_PenLocator_classObj
  502.  
  503. /*
  504.  * Declare the class creation procedure
  505.  */
  506. SOMEXTERN SOMClass * SOMLINK M_PenLocatorNewClass(integer4 somtmajorVersion,
  507.         integer4 somtminorVersion);
  508. #pragma linkage(M_PenLocatorNewClass, system)
  509.  
  510. /*
  511.  * Declare the class data structure
  512.  */
  513. SOMEXTERN struct M_PenLocatorClassDataStructure {
  514.     SOMAny *classObject;
  515.     somMToken penclsQueryPauseId;
  516.     somMToken penclsQueryPauseEnableId;
  517.     somMToken penclsQueryDefaultPause;
  518.     somMToken penclsQueryPauseEnableDefault;
  519. } M_PenLocatorClassData;
  520.  
  521. /*
  522.  * Declare the C specific class data structure
  523.  */
  524. SOMEXTERN struct M_PenLocatorCClassDataStructure {
  525.     somMethodTabs parentMtab;
  526.     somDToken instanceDataToken;
  527. } M_PenLocatorCClassData;
  528.  
  529. /*
  530.  * New and Renew macros for M_PenLocator
  531.  */
  532. #define M_PenLocatorNew() \
  533.     ( M_PenLocatorClassData.classObject \
  534.         ? (_somNew(M_PenLocatorClassData.classObject)) \
  535.         : ( M_PenLocatorNewClass(M_PenLocator_MajorVersion, M_PenLocator_MinorVersion), (_somNew(M_PenLocatorClassData.classObject)) ) )
  536. #define M_PenLocatorRenew(buf) \
  537.     ( _somRenew(M_PenLocatorClassData.classObject, buf) )
  538.  
  539. /*
  540.  * Override method: wpclsQueryTitle
  541.  */
  542. #define M_PenLocator_wpclsQueryTitle(somSelf) \
  543.     M_WPObject_wpclsQueryTitle(somSelf)
  544.  
  545. /*
  546.  * Override method: wpclsQueryDefaultHelp
  547.  */
  548. #define M_PenLocator_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  549.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  550.  
  551. /*
  552.  * Override method: wpclsQueryDefaultView
  553.  */
  554. #define M_PenLocator_wpclsQueryDefaultView(somSelf) \
  555.     M_WPObject_wpclsQueryDefaultView(somSelf)
  556.  
  557. /*
  558.  * Override method: wpclsQueryStyle
  559.  */
  560. #define M_PenLocator_wpclsQueryStyle(somSelf) \
  561.     M_WPObject_wpclsQueryStyle(somSelf)
  562.  
  563. /*
  564.  * Override method: wpclsQueryIconData
  565.  */
  566. #define M_PenLocator_wpclsQueryIconData(somSelf,pIconInfo) \
  567.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  568.  
  569. /*
  570.  * New Method: penclsQueryPauseId
  571.  */
  572. typedef USHORT    SOMLINK somTP_M_PenLocator_penclsQueryPauseId(M_PenLocator *somSelf);
  573. #pragma linkage(somTP_M_PenLocator_penclsQueryPauseId, system)
  574. typedef somTP_M_PenLocator_penclsQueryPauseId *somTD_M_PenLocator_penclsQueryPauseId;
  575. #define somMD_M_PenLocator_penclsQueryPauseId "----"
  576. #define M_PenLocator_penclsQueryPauseId(somSelf) \
  577.     (SOM_Resolve(somSelf, M_PenLocator, penclsQueryPauseId) \
  578.     (somSelf))
  579. #ifndef SOMGD_penclsQueryPauseId
  580.     #if (defined(_penclsQueryPauseId) || defined(__penclsQueryPauseId))
  581.         #undef _penclsQueryPauseId
  582.         #undef __penclsQueryPauseId
  583.         #define SOMGD_penclsQueryPauseId 1
  584.     #else
  585.         #define _penclsQueryPauseId M_PenLocator_penclsQueryPauseId
  586.     #endif /* _penclsQueryPauseId */
  587. #endif /* SOMGD_penclsQueryPauseId */
  588.  
  589. /*
  590.  * New Method: penclsQueryPauseEnableId
  591.  */
  592. typedef USHORT    SOMLINK somTP_M_PenLocator_penclsQueryPauseEnableId(M_PenLocator *somSelf);
  593. #pragma linkage(somTP_M_PenLocator_penclsQueryPauseEnableId, system)
  594. typedef somTP_M_PenLocator_penclsQueryPauseEnableId *somTD_M_PenLocator_penclsQueryPauseEnableId;
  595. #define somMD_M_PenLocator_penclsQueryPauseEnableId "----"
  596. #define M_PenLocator_penclsQueryPauseEnableId(somSelf) \
  597.     (SOM_Resolve(somSelf, M_PenLocator, penclsQueryPauseEnableId) \
  598.     (somSelf))
  599. #ifndef SOMGD_penclsQueryPauseEnableId
  600.     #if (defined(_penclsQueryPauseEnableId) || defined(__penclsQueryPauseEnableId))
  601.         #undef _penclsQueryPauseEnableId
  602.         #undef __penclsQueryPauseEnableId
  603.         #define SOMGD_penclsQueryPauseEnableId 1
  604.     #else
  605.         #define _penclsQueryPauseEnableId M_PenLocator_penclsQueryPauseEnableId
  606.     #endif /* _penclsQueryPauseEnableId */
  607. #endif /* SOMGD_penclsQueryPauseEnableId */
  608.  
  609. /*
  610.  * New Method: penclsQueryDefaultPause
  611.  */
  612. typedef ULONG    SOMLINK somTP_M_PenLocator_penclsQueryDefaultPause(M_PenLocator *somSelf);
  613. #pragma linkage(somTP_M_PenLocator_penclsQueryDefaultPause, system)
  614. typedef somTP_M_PenLocator_penclsQueryDefaultPause *somTD_M_PenLocator_penclsQueryDefaultPause;
  615. #define somMD_M_PenLocator_penclsQueryDefaultPause "----"
  616. #define M_PenLocator_penclsQueryDefaultPause(somSelf) \
  617.     (SOM_Resolve(somSelf, M_PenLocator, penclsQueryDefaultPause) \
  618.     (somSelf))
  619. #ifndef SOMGD_penclsQueryDefaultPause
  620.     #if (defined(_penclsQueryDefaultPause) || defined(__penclsQueryDefaultPause))
  621.         #undef _penclsQueryDefaultPause
  622.         #undef __penclsQueryDefaultPause
  623.         #define SOMGD_penclsQueryDefaultPause 1
  624.     #else
  625.         #define _penclsQueryDefaultPause M_PenLocator_penclsQueryDefaultPause
  626.     #endif /* _penclsQueryDefaultPause */
  627. #endif /* SOMGD_penclsQueryDefaultPause */
  628.  
  629. /*
  630.  * New Method: penclsQueryPauseEnableDefault
  631.  */
  632. typedef ULONG    SOMLINK somTP_M_PenLocator_penclsQueryPauseEnableDefault(M_PenLocator *somSelf);
  633. #pragma linkage(somTP_M_PenLocator_penclsQueryPauseEnableDefault, system)
  634. typedef somTP_M_PenLocator_penclsQueryPauseEnableDefault *somTD_M_PenLocator_penclsQueryPauseEnableDefault;
  635. #define somMD_M_PenLocator_penclsQueryPauseEnableDefault "----"
  636. #define M_PenLocator_penclsQueryPauseEnableDefault(somSelf) \
  637.     (SOM_Resolve(somSelf, M_PenLocator, penclsQueryPauseEnableDefault) \
  638.     (somSelf))
  639. #ifndef SOMGD_penclsQueryPauseEnableDefault
  640.     #if (defined(_penclsQueryPauseEnableDefault) || defined(__penclsQueryPauseEnableDefault))
  641.         #undef _penclsQueryPauseEnableDefault
  642.         #undef __penclsQueryPauseEnableDefault
  643.         #define SOMGD_penclsQueryPauseEnableDefault 1
  644.     #else
  645.         #define _penclsQueryPauseEnableDefault M_PenLocator_penclsQueryPauseEnableDefault
  646.     #endif /* _penclsQueryPauseEnableDefault */
  647. #endif /* SOMGD_penclsQueryPauseEnableDefault */
  648. #ifndef SOM_DONT_USE_INHERITED_MACROS
  649. #define M_PenLocator_penAddButtonsMappingsPage PenButtonDevice_penAddButtonsMappingsPage
  650. #define M_PenLocator_penQueryButtonData PenButtonDevice_penQueryButtonData
  651. #define M_PenLocator_penSetButtonData PenButtonDevice_penSetButtonData
  652. #define M_PenLocator_penclsQueryButtonData PenButtonDevice_penclsQueryButtonData
  653. #define M_PenLocator_wpclsInitData WPObject_wpclsInitData
  654. #define M_PenLocator_wpclsNew WPObject_wpclsNew
  655. #define M_PenLocator_wpQueryHandle WPObject_wpQueryHandle
  656. #define M_PenLocator_wpSaveImmediate WPObject_wpSaveImmediate
  657. #define M_PenLocator_wpSetTitle WPObject_wpSetTitle
  658. #define M_PenLocator_wpCopyObject WPObject_wpCopyObject
  659. #define M_PenLocator_wpMoveObject WPObject_wpMoveObject
  660. #define M_PenLocator_wpQueryIconData WPObject_wpQueryIconData
  661. #define M_PenLocator_wpSetIconData WPObject_wpSetIconData
  662. #define M_PenLocator_wpDragOver WPObject_wpDragOver
  663. #define M_PenLocator_wpReplaceObject WPObject_wpReplaceObject
  664. #define M_PenLocator_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  665. #define M_PenLocator_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
  666. #define M_PenLocator_wpAddToObjUseList WPObject_wpAddToObjUseList
  667. #define M_PenLocator_wpAllocMem WPObject_wpAllocMem
  668. #define M_PenLocator_wpAppendObject WPObject_wpAppendObject
  669. #define M_PenLocator_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
  670. #define M_PenLocator_wpClose WPObject_wpClose
  671. #define M_PenLocator_wpCnrInsertObject WPObject_wpCnrInsertObject
  672. #define M_PenLocator_wpCnrRemoveObject WPObject_wpCnrRemoveObject
  673. #define M_PenLocator_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
  674. #define M_PenLocator_wpConfirmDelete WPObject_wpConfirmDelete
  675. #define M_PenLocator_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
  676. #define M_PenLocator_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
  677. #define M_PenLocator_wpCopyObject WPObject_wpCopyObject
  678. #define M_PenLocator_wpCreateAnother WPObject_wpCreateAnother
  679. #define M_PenLocator_wpCreateFromTemplate WPObject_wpCreateFromTemplate
  680. #define M_PenLocator_wpCreateShadowObject WPObject_wpCreateShadowObject
  681. #define M_PenLocator_wpDelete WPObject_wpDelete
  682. #define M_PenLocator_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
  683. #define M_PenLocator_wpDisplayHelp WPObject_wpDisplayHelp
  684. #define M_PenLocator_wpDoesObjectMatch WPObject_wpDoesObjectMatch
  685. #define M_PenLocator_wpDraggedOverObject WPObject_wpDraggedOverObject
  686. #define M_PenLocator_wpDragOver WPObject_wpDragOver
  687. #define M_PenLocator_wpDrop WPObject_wpDrop
  688. #define M_PenLocator_wpDroppedOnObject WPObject_wpDroppedOnObject
  689. #define M_PenLocator_wpEndConversation WPObject_wpEndConversation
  690. #define M_PenLocator_wpFindUseItem WPObject_wpFindUseItem
  691. #define M_PenLocator_wpFormatDragItem WPObject_wpFormatDragItem
  692. #define M_PenLocator_wpFree WPObject_wpFree
  693. #define M_PenLocator_wpFreeMem WPObject_wpFreeMem
  694. #define M_PenLocator_wpHide WPObject_wpHide
  695. #define M_PenLocator_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
  696. #define M_PenLocator_wpInsertSettingsPage WPObject_wpInsertSettingsPage
  697. #define M_PenLocator_wpMoveObject WPObject_wpMoveObject
  698. #define M_PenLocator_wpPrintObject WPObject_wpPrintObject
  699. #define M_PenLocator_wpQueryConcurrentView WPObject_wpQueryConcurrentView
  700. #define M_PenLocator_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
  701. #define M_PenLocator_wpQueryConfirmations WPObject_wpQueryConfirmations
  702. #define M_PenLocator_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
  703. #define M_PenLocator_wpQueryDefaultView WPObject_wpQueryDefaultView
  704. #define M_PenLocator_wpQueryDetailsData WPObject_wpQueryDetailsData
  705. #define M_PenLocator_wpQueryError WPObject_wpQueryError
  706. #define M_PenLocator_wpQueryIcon WPObject_wpQueryIcon
  707. #define M_PenLocator_wpQueryIconData WPObject_wpQueryIconData
  708. #define M_PenLocator_wpQueryMinWindow WPObject_wpQueryMinWindow
  709. #define M_PenLocator_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  710. #define M_PenLocator_wpQueryStyle WPObject_wpQueryStyle
  711. #define M_PenLocator_wpSetTaskRec WPObject_wpSetTaskRec
  712. #define M_PenLocator_wpFindTaskRec WPObject_wpFindTaskRec
  713. #define M_PenLocator_wpQueryTitle WPObject_wpQueryTitle
  714. #define M_PenLocator_wpRegisterView WPObject_wpRegisterView
  715. #define M_PenLocator_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
  716. #define M_PenLocator_wpRender WPObject_wpRender
  717. #define M_PenLocator_wpRenderComplete WPObject_wpRenderComplete
  718. #define M_PenLocator_wpReplaceObject WPObject_wpReplaceObject
  719. #define M_PenLocator_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
  720. #define M_PenLocator_wpRestore WPObject_wpRestore
  721. #define M_PenLocator_wpRestoreData WPObject_wpRestoreData
  722. #define M_PenLocator_wpRestoreLong WPObject_wpRestoreLong
  723. #define M_PenLocator_wpRestoreString WPObject_wpRestoreString
  724. #define M_PenLocator_wpSaveData WPObject_wpSaveData
  725. #define M_PenLocator_wpSaveImmediate WPObject_wpSaveImmediate
  726. #define M_PenLocator_wpSaveDeferred WPObject_wpSaveDeferred
  727. #define M_PenLocator_wpSaveLong WPObject_wpSaveLong
  728. #define M_PenLocator_wpSaveString WPObject_wpSaveString
  729. #define M_PenLocator_wpScanSetupString WPObject_wpScanSetupString
  730. #define M_PenLocator_wpSetConcurrentView WPObject_wpSetConcurrentView
  731. #define M_PenLocator_wpSetButtonAppearance WPObject_wpSetButtonAppearance
  732. #define M_PenLocator_wpSetDefaultHelp WPObject_wpSetDefaultHelp
  733. #define M_PenLocator_wpSetDefaultView WPObject_wpSetDefaultView
  734. #define M_PenLocator_wpSetError WPObject_wpSetError
  735. #define M_PenLocator_wpSetIcon WPObject_wpSetIcon
  736. #define M_PenLocator_wpSetIconData WPObject_wpSetIconData
  737. #define M_PenLocator_wpSetMinWindow WPObject_wpSetMinWindow
  738. #define M_PenLocator_wpSetStyle WPObject_wpSetStyle
  739. #define M_PenLocator_wpModifyStyle WPObject_wpModifyStyle
  740. #define M_PenLocator_wpSetTitle WPObject_wpSetTitle
  741. #define M_PenLocator_wpSwitchTo WPObject_wpSwitchTo
  742. #define M_PenLocator_wpViewObject WPObject_wpViewObject
  743. #define M_PenLocator_wpQueryTrueStyle WPObject_wpQueryTrueStyle
  744. #define M_PenLocator_wpQueryHandle WPObject_wpQueryHandle
  745. #define M_PenLocator_wpUnlockObject WPObject_wpUnlockObject
  746. #define M_PenLocator_somInit SOMObject_somInit
  747. #define M_PenLocator_wpclsCreateDefaultTemplates WPObject_wpclsCreateDefaultTemplates
  748. #define M_PenLocator_wpclsInitData WPObject_wpclsInitData
  749. #define M_PenLocator_wpclsMakeAwake WPObject_wpclsMakeAwake
  750. #define M_PenLocator_wpclsNew WPObject_wpclsNew
  751. #define M_PenLocator_wpclsQueryDetails WPObject_wpclsQueryDetails
  752. #define M_PenLocator_wpclsQueryDetailsInfo WPObject_wpclsQueryDetailsInfo
  753. #define M_PenLocator_wpclsQueryExtendedCriteria WPObject_wpclsQueryExtendedCriteria
  754. #define M_PenLocator_wpclsQueryFolder WPObject_wpclsQueryFolder
  755. #define M_PenLocator_wpclsQueryIcon WPObject_wpclsQueryIcon
  756. #define M_PenLocator_wpclsQuerySearchInfo WPObject_wpclsQuerySearchInfo
  757. #define M_PenLocator_wpclsUnInitData WPObject_wpclsUnInitData
  758. #define M_PenLocator_wpclsFindObjectFirst WPObject_wpclsFindObjectFirst
  759. #define M_PenLocator_wpclsFindObjectNext WPObject_wpclsFindObjectNext
  760. #define M_PenLocator_wpclsFindObjectEnd WPObject_wpclsFindObjectEnd
  761. #define M_PenLocator_wpclsSetError WPObject_wpclsSetError
  762. #define M_PenLocator_wpclsQueryError WPObject_wpclsQueryError
  763. #define M_PenLocator_wpclsQuerySettingsPageSize WPObject_wpclsQuerySettingsPageSize
  764. #define M_PenLocator_wpclsQueryObject WPObject_wpclsQueryObject
  765. #define M_PenLocator_wpclsQueryButtonAppearance WPObject_wpclsQueryButtonAppearance
  766. #define M_PenLocator_somUninit SOMObject_somUninit
  767. #define M_PenLocator_somInitClass SOMClass_somInitClass
  768. #define M_PenLocator_somNew SOMClass_somNew
  769. #define M_PenLocator_somRenew SOMClass_somRenew
  770. #define M_PenLocator_somFree SOMObject_somFree
  771. #define M_PenLocator_somInit SOMObject_somInit
  772. #define M_PenLocator_somUninit SOMObject_somUninit
  773. #define M_PenLocator_somGetClass SOMObject_somGetClass
  774. #define M_PenLocator_somGetClassName SOMObject_somGetClassName
  775. #define M_PenLocator_somGetSize SOMObject_somGetSize
  776. #define M_PenLocator_somIsA SOMObject_somIsA
  777. #define M_PenLocator_somIsInstanceOf SOMObject_somIsInstanceOf
  778. #define M_PenLocator_somRespondsTo SOMObject_somRespondsTo
  779. #define M_PenLocator_somDispatchV SOMObject_somDispatchV
  780. #define M_PenLocator_somDispatchL SOMObject_somDispatchL
  781. #define M_PenLocator_somDispatchA SOMObject_somDispatchA
  782. #define M_PenLocator_somDispatchD SOMObject_somDispatchD
  783. #define M_PenLocator_somDispatch SOMObject_somDispatch
  784. #define M_PenLocator_somClassDispatch SOMObject_somClassDispatch
  785. #define M_PenLocator_somPrintSelf SOMObject_somPrintSelf
  786. #define M_PenLocator_somDumpSelf SOMObject_somDumpSelf
  787. #define M_PenLocator_somDumpSelfInt SOMObject_somDumpSelfInt
  788. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  789.  
  790. #endif       /* SOM_M_M_PenLocator_mh */
  791.