home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / SDK / WLDSELWN.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  1.5 KB  |  84 lines

  1. #define WLDSELWN_OPH
  2.  
  3. #ifndef MATCHER_OPH
  4. #include <sdk\matcher>
  5. #endif
  6.  
  7. #ifndef WR_IO_OPH
  8. #include <sdk\wr_io>
  9. #endif
  10.  
  11. /* AC: add these next 2 includes */
  12.  
  13. #ifndef WIN_OPH
  14. #include <sdk\win>
  15. #endif
  16.  
  17. #ifndef LODGER_OPH
  18. #include <sdk\lodger>
  19. #endif
  20.  
  21. /* Constants for wmatcher */
  22.  
  23. #define GEOG_MAX_NAME 22
  24. #define PR_WMATCHER_INDETERMINATE 0x02
  25.  
  26. /* Property of wmatcher */
  27.  
  28. STRUCT PRS_WMATCHER
  29.     wfcb%
  30.     iscountry#
  31.     tleng#
  32.     tbuf#(GEOG_MAX_NAME)
  33.     res#(SIZEOF(WR_FIND_RES))
  34.     resco%
  35. ENDS
  36.  
  37. STRUCT PR_WMATCHER
  38.     root#(SIZEOF(PRS_ROOT))
  39.     matcher#(SIZEOF(PRS_MATCHER))
  40.     wmatcher#(SIZEOF(PRS_WMATCHER))
  41. ENDS
  42.  
  43. /* Constants for wldselwn */
  44.  
  45. #define PR_WLDSELWN_COUNTRY 0x01
  46. #define PR_WLDSELWN_FIRST_PARTNER 0x02
  47. #define PR_WLDSELWN_NOT_IN_DIALOG 0x04
  48. #define PR_WLDSELWN_RESTRICTED 0x08
  49. #define IN_WLDSELWN_CITY 0
  50. #define IN_WLDSELWN_COUNTRY PR_WLDSELWN_COUNTRY
  51. #define IN_WLDSELWN_FIRST_PARTNER PR_WLDSELWN_FIRST_PARTNER
  52. #define IN_WLDSELWN_NOT_IN_DIALOG PR_WLDSELWN_NOT_IN_DIALOG
  53. #define IN_WLDSELWN_SECOND_PARTNER 0x10
  54. #define IN_WLDSELWN_SETHOME 0x20
  55. #define IN_WLDSELWN_SETDFLT 0x40
  56.  
  57. /* Types for wldselwn */
  58.  
  59. STRUCT IN_WLDSELWN
  60.     flags%
  61.     other%
  62. ENDS
  63.  
  64. STRUCT SENSE_WLDSELWN
  65.     wfcb%
  66.     data#(SIZEOF(WR_EXTRA_DATA))
  67. ENDS
  68.  
  69. /* Property of wldselwn */
  70.  
  71. STRUCT PRS_WLDSELWN
  72.     mat%
  73.     tleng%
  74.     flags%
  75.     other%
  76. ENDS
  77.  
  78. STRUCT PR_WLDSELWN
  79.     root#(SIZEOF(PRS_ROOT))
  80.     win#(SIZEOF(PRS_WIN))
  81.     lodger#(SIZEOF(PRS_LODGER))
  82.     wldselwn#(SIZEOF(PRS_WLDSELWN))
  83. ENDS
  84.