home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xwplascr.zip / XWPL0208.ZIP / idl / wps / wpdataf.idl < prev    next >
Text File  |  2002-08-05  |  3KB  |  101 lines

  1. //  Module Header
  2. //
  3. //  Module Name: WPDATAF
  4. //
  5. //  OS/2 Presentation Manager Workplace class definitions
  6. //
  7. //  Copyright (c) International Business Machines Corporation 1991, 1992
  8. //
  9. #ifndef wpdataf_idl
  10. #define wpdataf_idl
  11. #include "wpfsys.idl"
  12. #include <somcls.idl>
  13. interface M_WPDataFile;
  14. interface WPDataFile : WPFileSystem
  15. {
  16.     ULONG wpAddFileTypePage(in HWND hwndNotebook);
  17.  
  18.     BOOL wpPrintMetaFile(in PPRINTDEST pPrintDest);
  19.  
  20.     BOOL wpPrintPifFile(in PPRINTDEST pPrintDest);
  21.  
  22.     BOOL wpPrintPrinterSpecificFile(in PPRINTDEST pPrintDest);
  23.  
  24.     BOOL wpPrintUnknownFile(in PPRINTDEST pPrintDest);
  25.  
  26.     WPObject wpQueryAssociatedProgram(in ULONG ulView,
  27.                                       in PULONG pulHowMatched,
  28.                                       in PSZ pszMatchString,
  29.                                       in ULONG cbMatchString,
  30.                                       in PSZ pszDefaultType);
  31.  
  32.     void wpSetAssociatedFileIcon();
  33.  
  34.     HPOINTER wpQueryAssociatedFileIcon();
  35.  
  36. #ifdef __SOMIDL__
  37.   implementation {
  38.     releaseorder: wpAddFileTypePage,
  39.                   wpPrintMetaFile,
  40.                   wpPrintPifFile,
  41.                   wpPrintPrinterSpecificFile,
  42.                   wpPrintUnknownFile,
  43.                   wpQueryAssociatedProgram,
  44.                   wpSetAssociatedFileIcon,
  45.                   wpQueryAssociatedFileIcon;
  46.  
  47.     externalstem = wpdf;
  48.     local;
  49.     externalprefix = df_;
  50.     majorversion = 1;
  51.     minorversion = 2;
  52.     filestem = wpdataf;
  53.     metaclass = M_WPDataFile;
  54.     callstyle = oidl;
  55.     dllname = "pmwp.dll";
  56.     passthru C_h =
  57. "        #define MAX_ASSOC_ITEMS 12";
  58.  
  59.     wpDragOver: override;
  60.     wpRestoreState: override;
  61.     wpSetDefaultView: override;
  62.     wpSetRealName: override;
  63.     wpSetType: override;
  64.     wpAddSettingsPages: override;
  65.     wpAddObjectWindowPage: override;
  66.     wpOpen: override;
  67.     wpPrintObject: override;
  68.     wpModifyPopupMenu: override;
  69.     wpMenuItemSelected: override;
  70.     wpMenuItemHelpSelected: override;
  71.     wpQueryDefaultHelp: override;
  72.     wpFormatDragItem: override;
  73.     wpConfirmRenameFileWithExt: override;
  74.     wpQueryIcon: override;
  75.     somDefaultInit: override;
  76.     somDestruct: override;
  77.   };
  78. #endif /* __SOMIDL__ */
  79. };
  80. interface M_WPDataFile : M_WPFileSystem
  81. {
  82. #ifdef __SOMIDL__
  83.   implementation {
  84.     externalstem = wpdf;
  85.     local;
  86.     externalprefix = dfM_;
  87.     majorversion = 1;
  88.     minorversion = 2;
  89.     filestem = wpdataf;
  90.     callstyle = oidl;
  91.     dllname = "pmwp.dll";
  92.     wpclsQueryTitle: override;
  93.     wpclsQueryIconData: override;
  94.     wpclsQueryStyle: override;
  95.     wpclsQueryDefaultView: override;
  96.     wpclsQueryDefaultHelp: override;
  97.   };
  98. #endif /* __SOMIDL__ */
  99. };
  100. #endif  /* wpdataf_idl */
  101.