home *** CD-ROM | disk | FTP | other *** search
-
- //# This file was generated by the SOM Compiler.
- //# FileName: wpdataf.id2.
- //# Generated using:
- //# SOM Precompiler somopc: 2.2
- //# SOM Emitter emitidl: 2.7
-
- // Module Header
- //
- // Module Name: WPDATAF
- //
- // OS/2 Presentation Manager Workplace class definitions
- //
- // Copyright (c) International Business Machines Corporation 1991, 1992
- //
-
- #ifndef wpdataf_idl
- #define wpdataf_idl
-
- #include "wpfsys.idl"
- #include <somcls.idl>
-
- interface M_WPDataFile;
-
- interface WPDataFile : WPFileSystem
-
- {
- ULONG wpAddFileTypePage(in HWND hwndNotebook);
-
- BOOL wpPrintMetaFile(in PPRINTDEST pPrintDest);
-
- BOOL wpPrintPifFile(in PPRINTDEST pPrintDest);
-
- BOOL wpPrintPrinterSpecificFile(in PPRINTDEST pPrintDest);
-
- BOOL wpPrintUnknownFile(in PPRINTDEST pPrintDest);
-
- WPObject wpQueryAssociatedProgram(in ULONG ulView,
- in PULONG pulHowMatched,
- in PSZ pszMatchString,
- in ULONG cbMatchString,
- in PSZ pszDefaultType);
- void wpSetAssociatedFileIcon();
-
-
- #ifdef __SOMIDL__
- implementation {
-
- releaseorder: wpAddFileTypePage,wpPrintMetaFile,wpPrintPifFile,
- wpPrintPrinterSpecificFile,wpPrintUnknownFile,wpQueryAssociatedProgram,
- wpSetAssociatedFileIcon;
-
- //# Class Modifiers
- externalstem = wpdf;
- local;
- externalprefix = df_;
- majorversion = 1;
- minorversion = 2;
- filestem = wpdataf;
- metaclass = M_WPDataFile;
- callstyle = oidl;
- dllname = "pmwp.dll"; //sahsom2
-
- passthru C_h = " #define MAX_ASSOC_ITEMS 12";
-
-
- //# Method Modifiers
- wpDragOver: override;
- wpRestoreState: override;
- wpSetDefaultView: override;
- wpSetRealName: override;
- wpSetType: override;
- wpUnInitData: override;
- wpAddSettingsPages: override;
- wpAddObjectWindowPage: override;
- wpOpen: override;
- wpPrintObject: override;
- wpModifyPopupMenu: override;
- wpMenuItemSelected: override;
- wpMenuItemHelpSelected: override;
- wpQueryDefaultHelp: override;
- wpFormatDragItem: override;
- wpConfirmRenameFileWithExt: override;
-
- //# Data Modifiers
-
-
- };
- #endif /* __SOMIDL__ */
- };
-
- interface M_WPDataFile
- {
-
- #ifdef __SOMIDL__
- implementation {
-
- //# Class Modifiers
- externalstem = wpdf;
- local;
- externalprefix = dfM_;
- majorversion = 1;
- minorversion = 2;
- filestem = wpdataf;
- callstyle = oidl;
- dllname = "pmwp.dll"; //sahsom2
-
- //# Method Modifiers
- wpclsQueryTitle: override;
- wpclsQueryIconData: override;
- wpclsQueryStyle: override;
- wpclsQueryDefaultView: override;
- wpclsQueryDefaultHelp: override;
-
- };
- #endif /* __SOMIDL__ */
- };
-
- #endif /* wpdataf_idl */
-