home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / WPSPOOL.IDL < prev    next >
Text File  |  1995-11-08  |  2KB  |  106 lines

  1.  
  2. //  Module Header
  3. //
  4. //  Module Name: WPSPOOL
  5. //
  6. //  OS/2 Presentation Manager Workplace class definitions
  7. //
  8. //  Copyright (c) International Business Machines Corporation 1991, 1992
  9. //
  10.  
  11. #ifndef wpspool_idl
  12. #define wpspool_idl
  13.  
  14. #include "wpabs.idl"
  15. #include <somcls.idl>
  16. #include <wprttype.idl>                                                //@WPSOM2
  17.  
  18. interface M_WPSpool;
  19.  
  20. interface WPSpool : WPAbstract
  21. {
  22.  
  23.   ULONG wpAddSetPathPage(in HWND hwndNotebook);
  24.   ULONG wpAddSetPriorityPage(in HWND hwndNotebook);
  25.  
  26.  
  27. #ifdef __SOMIDL__
  28.   implementation {
  29.  
  30.     releaseorder: wpAddSetPathPage,wpAddSetPriorityPage,pdvQueryXSplitBarAllJobs,
  31.                   pdvSetXSplitBarAllJobs;
  32.  
  33.     externalstem = WPspl;
  34.     local;
  35.     externalprefix = spl_;
  36.     majorversion = 1;
  37.     minorversion = 1;
  38.     filestem = wpspool;
  39.     metaclass = M_WPSpool;
  40.     callstyle = oidl;
  41.  
  42.     passthru C_ih =     "#define SPOOL_VERSION_MAJOR  1"
  43. "#define SPOOL_VERSION_MINOR  1"
  44. ""
  45. "#define SPOOLER_TITLE        1"
  46. "#define SPOOLER_XSPLITBARALLJOBS        2";
  47.  
  48.     passthru C_h =     ""
  49. "/* common context menu ids */"
  50. "#define WPPOICM_SPOOL_ENABLE        5001"
  51. "#define WPPOIDM_SPOOL_ENABLE        5101"
  52. "#define WPPOICM_SPOOL_DISABLE       5002"
  53. "#define WPPOIDM_SPOOL_DISABLE       5102"
  54. "";
  55.  
  56.  
  57.     wpInitData: override;
  58.     wpUnInitData: override;
  59.     somDumpSelfInt: override;
  60.     wpQueryTitle: override;
  61.     wpQueryIcon: override;
  62.     wpFilterPopupMenu: override;
  63.     wpModifyPopupMenu: override;
  64.     wpMenuItemSelected: override;
  65.     wpMenuItemHelpSelected: override;
  66.     wpOpen: override;
  67.     wpDrop: override;
  68.     wpCopyObject: override;
  69.     wpDragOver: override;
  70.     wpSaveState: override;
  71.     wpRestoreState: override;
  72.     wpAddSettingsPages: override;
  73.  
  74.  
  75.   };
  76. #endif /* __SOMIDL__ */
  77. };
  78.  
  79. interface M_WPSpool
  80. {
  81.  
  82. #ifdef __SOMIDL__
  83.   implementation {
  84.  
  85.     externalstem = WPspl;
  86.     local;
  87.     externalprefix = splM_;                                            //@WPSOM2
  88.     functionprefix = splM_;
  89.     majorversion = 1;
  90.     minorversion = 1;
  91.     filestem = wpspool;
  92.     callstyle = oidl;
  93.  
  94.     wpclsQueryTitle: override;
  95.     wpclsQueryIcon: override;
  96.     wpclsQueryDefaultHelp: override;
  97.     wpclsQueryDefaultView: override;
  98.     wpclsQueryStyle: override;
  99.     wpclsQueryIconData: override;
  100.  
  101.   };
  102. #endif /* __SOMIDL__ */
  103. };
  104.  
  105. #endif  /* wpspool_idl */
  106.