home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / idl / wpport.idl < prev    next >
Text File  |  1999-03-15  |  2KB  |  102 lines

  1.  
  2. //  Module Header
  3. //
  4. //  Module Name: WPPORT
  5. //
  6. //  OS/2 Presentation Manager Workplace class definitions
  7. //
  8. //  Copyright (c) International Business Machines Corporation 1991, 1992
  9. //
  10.  
  11. #ifndef wpport_idl
  12. #define wpport_idl
  13.  
  14. #include "wptrans.idl"
  15. #include <somcls.idl>
  16. #include <wprttype.idl>
  17.  
  18. interface M_WPPort;
  19.  
  20. interface WPPort : WPTransient
  21. {
  22.  
  23. #ifdef __SOMIDL__
  24.   implementation {
  25.  
  26.     releaseorder: prtGetPortInfo,prtSetPortInfo,prtSettings,prtGetDeviceObject,
  27.                   prtSetPortDiscardhwndDlg,prtSetPortInstallhwndDlg,
  28.                   prtPrintPort,prtSetIcon,prtChangePort,prtGetStatus,
  29.                   prtGetComputername,prtSetStatus,prtGetPDSelf,prtSetPDSelf,
  30.                   prtSetUlStatus, prtGetUlStatus,prtGetPortName,
  31.                   prtGetPanelList,prtIncThreadCnt,prtDecThreadCnt,
  32.                   prtSetDevicename;
  33.  
  34.     externalstem = WPport;
  35.     local;
  36.     externalprefix = port_;
  37.     majorversion = 1;
  38.     minorversion = 1;
  39.     filestem = wpport;
  40.     metaclass = M_WPPort;
  41.     callstyle = oidl;
  42.  
  43.  
  44.     passthru C_h =     ""
  45. "/* common context menu ids */"
  46. "#define WPPOIDM_PORT_REDIRECT       7100"
  47. "#define WPPOIDM_PORT_INSTALL        8001"
  48. "";
  49.  
  50.  
  51.     wpInitData: override;
  52.     wpUnInitData: override;
  53.     wpSetup: override ;                                            
  54.     somDumpSelfInt: override;
  55.     wpQueryTitle: override;
  56.     wpQueryIcon: override;
  57.     wpFilterPopupMenu: override;
  58.     wpFree: override;
  59.     wpConfirmDelete: override;
  60.     wpModifyPopupMenu: override;
  61.     wpMenuItemSelected: override;
  62.     wpMenuItemHelpSelected: override;
  63.     wpOpen: override;
  64.     wpDrop: override;
  65.     wpDragOver: override;
  66.     wpCnrSetEmphasis: override;
  67.     wpQueryDetailsData: override;
  68.  
  69.  
  70.   };
  71. #endif /* __SOMIDL__ */
  72. };
  73.  
  74. interface M_WPPort
  75. {
  76.  
  77. #ifdef __SOMIDL__
  78.   implementation {
  79.  
  80.     externalstem = WPport;
  81.     local;
  82.     externalprefix = portM_;
  83.     functionprefix = portM_;
  84.     majorversion = 1;
  85.     minorversion = 1;
  86.     filestem = wpport;
  87.     callstyle = oidl;
  88.  
  89.     wpclsQueryTitle: override;
  90.     wpclsQueryIcon: override;
  91.     wpclsQueryIconData: override;
  92.     wpclsQueryDefaultHelp: override;
  93.     wpclsQueryDefaultView: override;
  94.     wpclsQueryStyle: override;
  95.     wpclsQueryDetailsInfo: override;
  96.  
  97.   };
  98. #endif /* __SOMIDL__ */
  99. };
  100.  
  101. #endif  /* wpport_idl */
  102.