home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / IDL / WPPORT.IDL < prev    next >
Text File  |  1995-08-30  |  2KB  |  81 lines

  1. //  Module Header
  2. //
  3. //  Module Name: WPPORT
  4. //
  5. //  OS/2 Presentation Manager Workplace class definitions
  6. //
  7. //  Copyright (c) International Business Machines Corporation 1991, 1992
  8. //
  9. #ifndef wpport_idl
  10. #define wpport_idl
  11. #include "wptrans.idl"
  12. #include <somcls.idl>
  13. #include <wprttype.idl>
  14. interface M_WPPort;
  15. interface WPPort : WPTransient
  16. {
  17. #ifdef __SOMIDL__
  18.   implementation {
  19.     releaseorder: prtGetPortInfo,prtSetPortInfo,prtSettings,prtGetDeviceObject,
  20.                   prtSetPortDiscardhwndDlg,prtSetPortInstallhwndDlg,
  21.                   prtPrintPort,prtSetIcon,prtChangePort;
  22.     externalstem = WPport;
  23.     local;
  24.     externalprefix = port_;
  25.     majorversion = 1;
  26.     minorversion = 1;
  27.     filestem = wpport;
  28.     metaclass = M_WPPort;
  29.     callstyle = oidl;
  30.     passthru C_ih =     "#define JO_VERSION_MAJOR  1"
  31. "#define JO_VERSION_MINOR  1"
  32. ""
  33. "    /* port multi selected flags */"
  34. "#define PORT_FLAG_MUTISELPORT    0x00000001L"
  35. "#define SIZE_PORT_NAME           257"
  36. "";
  37.     passthru C_h =     ""
  38. "/* common context menu ids */"
  39. "#define WPPOIDM_PORT_REDIRECT       7100"
  40. "#define WPPOIDM_PORT_INSTALL        8001"
  41. "";
  42.     wpInitData: override;
  43.     wpUnInitData: override;
  44.     somDumpSelfInt: override;
  45.     wpQueryTitle: override;
  46.     wpQueryIcon: override;
  47.     wpFilterPopupMenu: override;
  48.     wpFree: override;
  49.     wpModifyPopupMenu: override;
  50.     wpMenuItemSelected: override;
  51.     wpMenuItemHelpSelected: override;
  52.     wpOpen: override;
  53.     wpDrop: override;
  54.     wpDragOver: override;
  55.     wpCnrSetEmphasis: override;
  56.   };
  57. #endif /* __SOMIDL__ */
  58. };
  59. interface M_WPPort
  60. {
  61. #ifdef __SOMIDL__
  62.   implementation {
  63.     externalstem = WPport;
  64.     local;
  65.     externalprefix = portM_;
  66.     functionprefix = portM_;
  67.     majorversion = 1;
  68.     minorversion = 1;
  69.     filestem = wpport;
  70.     callstyle = oidl;
  71.     wpclsQueryTitle: override;
  72.     wpclsQueryIcon: override;
  73.     wpclsQueryIconData: override;
  74.     wpclsQueryDefaultHelp: override;
  75.     wpclsQueryDefaultView: override;
  76.     wpclsQueryStyle: override;
  77.   };
  78. #endif /* __SOMIDL__ */
  79. };
  80. #endif  /* wpport_idl */
  81.