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

  1.  
  2. //  Module Header
  3. //
  4. //  Module Name: WPRPRINT
  5. //
  6. //  OS/2 Presentation Manager Workplace class definitions
  7. //
  8. //  Copyright (c) International Business Machines Corporation 1991, 1992
  9. //
  10.  
  11. #ifndef wprprint_idl
  12. #define wprprint_idl
  13.  
  14. #include "wpprint.idl"
  15. #include <somcls.idl>
  16.  
  17. interface M_WPRPrinter;
  18.  
  19. interface WPRPrinter : WPPrinter
  20. {
  21.  
  22.   BOOL wpAddNetworkPage(in HWND hwndNotebook);
  23.   BOOL wpQueryNetworkId(in PSZ pBuf, in PULONG pcbBuf);
  24.   BOOL wpQueryLocalAlias(in PSZ pBuf, in PULONG pcbBuf);
  25.  
  26.  
  27. #ifdef __SOMIDL__
  28.   implementation {
  29.  
  30.     releaseorder: wpSetResNetIdentity,wpQueryResNetIdentity,wpAddNetworkPage,
  31.                   wpCreateAnotherPrinter,wpNetworkConnect,wpNetworkDisconnect,
  32.                   wpNetworkLogoff,wpNetworkLogon,wpAuthenticate,wpQueryNetworkName,
  33.                   wpQueryServerName,wpQueryResourceName,wpParseNetId,
  34.                   wpAddObjectGeneralPage,
  35.                   wpQueryNetworkId,wpQueryLocalAlias;
  36.  
  37.     externalstem = WPrprint;
  38.     local;
  39.     externalprefix = rprt_;
  40.     majorversion = 1;
  41.     minorversion = 1;
  42.     filestem = wprprint;
  43.     metaclass = M_WPRPrinter;
  44.     callstyle = oidl;
  45.  
  46.  
  47.     passthru C_h =     " "
  48. " /* common context menu ids */ "
  49. "#define WPPOICM_RPRTMENU            9017"
  50. "#define WPPOIDM_RPRTACCESSANOTHER   9018"
  51. "#define WPPOIDM_RPRTCONNECT         9019"
  52. "#define WPPOIDM_RPRTDISCONNECT      9020"
  53. "#define WPPOIDM_RPRTLOGON           9021"
  54. "#define WPPOIDM_RPRTLOGOFF          9022"
  55. "#define WPPOIDM_RPRTREMADMIN        9024"
  56. "#define WPPOIDM_RPRTREMADMIN_COPY   9025"
  57. "#define WPPOIDM_RPRTREMADMIN_CREATE 9026"
  58. "#define WPPOIDM_RPRTREMADMIN_DELETE 9027"
  59. "#define WPPOIDM_PPRTINSTALL         8001"
  60. "";
  61.  
  62.  
  63.     wpInitData: override;
  64.     wpUnInitData: override;
  65.     wpSetup: override;
  66.     wpSaveState: override;
  67.     wpRestoreState: override;
  68.     wpAddSettingsPages: override;
  69.     wpAddObjectGeneralPage: override;
  70.     wpFilterPopupMenu: override;
  71.     wpFree: override;
  72.     wpModifyPopupMenu: override;
  73.     wpMenuItemSelected: override;
  74.     wpMenuItemHelpSelected: override;
  75.     wpDrop: override;
  76.     wpDragOver: override;
  77.     wpCopyObject: override;
  78.     wpCopiedFromTemplate: override;
  79.     wpCreateFromTemplate: override;
  80.     wpOpen: override;
  81.  
  82.  
  83.   };
  84. #endif /* __SOMIDL__ */
  85. };
  86.  
  87. interface M_WPRPrinter
  88. {
  89.  
  90. #ifdef __SOMIDL__
  91.   implementation {
  92.  
  93.     externalstem = WPrprint;
  94.     local;
  95.     externalprefix = rprtM_;
  96.     functionprefix = rprtM_;
  97.     majorversion = 1;
  98.     minorversion = 1;
  99.     filestem = wprprint;
  100.     callstyle = oidl;
  101.  
  102.     wpclsQueryTitle: override;
  103.     wpclsQueryIcon: override;
  104.     wpclsQueryIconData: override;
  105.     wpclsQueryStyle: override;
  106.  
  107.   };
  108. #endif /* __SOMIDL__ */
  109. };
  110.  
  111. #endif  /* wprprint_idl */
  112.