home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / wpshidl / idl / wpdataf.idl < prev    next >
Encoding:
Text File  |  1993-11-17  |  2.8 KB  |  120 lines

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