home *** CD-ROM | disk | FTP | other *** search
-
- //# This file was generated by the SOM Compiler.
- //# FileName: wpfntpal.id2.
- //# Generated using:
- //# SOM Precompiler somopc: 2.2
- //# SOM Emitter emitidl: 2.7
-
- // Module Header
- //
- // Module Name: WPFNTPAL
- //
- // OS/2 Presentation Manager Workplace class definitions
- //
- // Copyright (c) International Business Machines Corporation 1991, 1992
- //
-
- #ifndef wpfntpal_idl
- #define wpfntpal_idl
-
- #include "wppalet.idl"
- #include <somcls.idl>
-
- interface M_WPFontPalette;
-
- interface WPFontPalette : WPPalette
-
- {
-
-
- #ifdef __SOMIDL__
- implementation {
-
- releaseorder: wpGetFattrsFromPsz;
-
- //# Class Modifiers
- externalstem = wpfon;
- local;
- externalprefix = fon_;
- majorversion = 1;
- minorversion = 2;
- filestem = wpfntpal;
- metaclass = M_WPFontPalette;
- callstyle = oidl;
- dllname = "wpconfig.dll";
-
- passthru C_h_after = ""
-
- " #define CCHFONTNAME 80"
- ""
- " /* Fontpot structure */"
- ""
- " typedef struct _FONTPOT"
- " {"
- " CELL cell; /* Size of the data that follows */"
- " FATTRS fAttrs; /* fattrs from WinFontDlg/wpfattrsfrompsz */"
- " CHAR szFont[CCHFONTNAME+1];"
- " } FONTPOT;"
- " typedef FONTPOT *PFONTPOT;"
- "";
-
- //# Method Modifiers
- wpPaintCell: override;
- wpEditCell: override;
- wpSetupCell: override;
- wpDragCell: override;
- wpQueryPaletteHelp: override;
- wpSetup: override;
- wpMenuItemHelpSelected: override;
-
-
- };
- #endif /* __SOMIDL__ */
- };
-
- interface M_WPFontPalette
- {
-
- #ifdef __SOMIDL__
- implementation {
-
- //# Class Modifiers
- externalstem = wpfon;
- local;
- externalprefix = fonM_;
- majorversion = 1;
- minorversion = 2;
- filestem = wpfntpal;
- callstyle = oidl;
- dllname = "wpconfig.dll";
-
- //# Method Modifiers
- wpclsQueryEditString: override;
- wpclsQueryTitle: override;
- wpclsQueryIconData: override;
- wpclsQueryStyle: override;
- wpclsQueryDefaultHelp: override;
-
- };
- #endif /* __SOMIDL__ */
- };
-
- #endif /* wpfntpal_idl */
-