home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK1.DSK
/
WPPENSYS.IDL
< prev
next >
Wrap
Text File
|
1994-09-28
|
8KB
|
265 lines
//# This file was generated by the SOM Compiler.
//# FileName: wppensys.id2.
//# Generated using:
//# SOM Precompiler somopc: 2.7
//# SOM Emitter emitidl: 2.22
// SCC: @(#) 63 12/8/92 16:03:07 1.5 @(#)
// Module Header
//
// Module Name: WPPENSYS
//
// OS/2 Presentation Manager Workplace class definitions
//
// Copyright (c) International Business Machines Corporation 1992
//
#ifndef wppensys_idl
#define wppensys_idl
#include "wpabs.idl"
#include <somcls.idl>
interface M_PenPenSubSystem;
interface PenPenSubSystem : WPAbstract
//# Comment for parent WPAbstract:
//---Symbol parentComment is undefined---
//
// CLASS: PenPenSubSystem
//
// CLASS HIERARCHY:
// SOMObject
// └── WPObject
// └── WPAbstract
// └── PenPenSubSystem
//
// DESCRIPTION:
// This is the Pen Subsystem object class.
//
// An instance of this class can be created as a Workplace object.
//
// An instance of this class is created initially by the system.
// It has the title, "Pen Subsystem" and resides in the "System Setup"
// folder.
//
{
ULONG penAddHWPadPage(in HWND hwndNotebook);
//
// METHOD: penAddHWPadPage ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the handwriting page
//
// HISTORY: 6-15-94 - MikeD blew a build, then fixed it
ULONG penAddPenFeedback2Page(in HWND hwndNotebook);
//
// METHOD: penAddPenFeedback2Page ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the the configuration page to the pen subsystem settings notebook
// that allows the user to set the pause beep frequency.
//
ULONG penAddPenTimeouts1Page(in HWND hwndNotebook);
//
// METHOD: penAddPenTimeouts1Page ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the the configuration page to the pen subsystem settings notebook
// that allows the user to set the set various stroke timeouts that are
// used by the input subsystem.
//
ULONG penInvokeGestureHelp(in HOBJECT hObject);
//
// METHOD: penInvokeGestureHelp ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Opens settings notebook of particular object to the Gesture
// page for the given session.
//
ULONG penAddObjectEventPage(in HWND hwndNotebook,
in PVOID pMappingInfo);
//
// METHOD: penAddObjectEventPage ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the recognition event page to Pen SubSystem Folder.
//
ULONG penAddObjectEventPage2(in HWND hwndNotebook,
in PVOID pMappingInfo);
//
// METHOD: penAddObjectEventPage ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the recognition event page to Pen SubSystem Folder.
//
ULONG penAddTrainingPage(in HWND hwndNotebook);
//
// METHOD: penAddTrainingPage ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the the Training page to the pen subsystem settings notebook
// that allows the user to create and modify handwritting styles.
//
#ifdef __SOMIDL__
implementation {
releaseorder: penAddPenFeedback2Page,penAddPenTimeouts1Page,penAddObjectEventPage,
penAddObjectEventPage2,penInvokeGestureHelp,penAddTrainingPage,
penAddHWPadPage;
//# Class Modifiers
local;
functionprefix = pss_;
majorversion = 1;
minorversion = 1;
filestem = wppensys;
metaclass = M_PenPenSubSystem;
callstyle = oidl;
#ifdef __PRIVATE__
passthru C_ih_before = ""
" #define PENSUBSYSTEM_VERSION_MAJOR 1"
" #define PENSUBSYSTEM_VERSION_MINOR 1"
""
" #define RPE \"PPMRPE.EXE\""
""
" #define PPMSVDEFAULT_RECOPTRDELAY 250"
" #define PPMSVDEFAULT_CONTROLS 1"
""
" #define ICONDISPLAYTIME 500"
""
" #define SET 1"
" #define RESET 0"
""
" #define RIGHT 1"
" #define LEFT 2"
""
" #define NUMCOLS 1"
" #define NUMROWS 2"
""
" #define LONGTICK 6"
" #define SHORTTICK 3"
""
" /* help res ids */"
" #define PENSYS_DEFAULTHELP 40002"
" #define FEED2DLG_HELPRES 40066"
" #define TIME1DLG_HELPRES 40004"
" #define PSSGESTUREDLG_HELPRES 40014"
" #define TRAINDLG_HELPRES 40005"
""
" #define CUSTOMIZATION_HWPADPAGE_HELPRES 40189"
" #define CUSTOMIZATION_SAVESTYLE_HELPRES 40214"
" #define CUSTOMIZATION_RESTORESTYLE_HELPRES 40215"
"";
#endif /* __PRIVATE__ */
//
// #define PENSUBSYSTEM_VERSION_MAJOR 1
// #define PENSUBSYSTEM_VERSION_MINOR 1
//
// #define RPE "PPMRPE.EXE"
//
// #define PPMSVDEFAULT_RECOPTRDELAY 250
// #define PPMSVDEFAULT_CONTROLS 1
//
// #define ICONDISPLAYTIME 500
//
// #define SET 1
// #define RESET 0
//
// #define RIGHT 1
// #define LEFT 2
//
// #define NUMCOLS 1
// #define NUMROWS 2
//
// #define LONGTICK 6
// #define SHORTTICK 3
//
// /* help res ids */
// #define PENSYS_DEFAULTHELP 40002
// #define FEED2DLG_HELPRES 40066
// #define TIME1DLG_HELPRES 40004
// #define PSSGESTUREDLG_HELPRES 40014
// #define TRAINDLG_HELPRES 40005
//
// #define CUSTOMIZATION_HWPADPAGE_HELPRES 40189
// #define CUSTOMIZATION_SAVESTYLE_HELPRES 40214
// #define CUSTOMIZATION_RESTORESTYLE_HELPRES 40215
//# Internal Instance Variables
ULONG ulPMGesturePage;
ULONG ulOS2GesturePage;
ULONG ulWINGesturePage;
ULONG ulDOSGesturePage;
HWND hwndNotebook;
//# Method Modifiers
penInvokeGestureHelp: namelookup;
wpAddSettingsPages: override;
wpAddObjectWindowPage: override;
wpFilterPopupMenu: override;
//# Data Modifiers
ulPMGesturePage: internal;
ulOS2GesturePage: internal;
ulWINGesturePage: internal;
ulDOSGesturePage: internal;
hwndNotebook: internal;
};
#endif /* __SOMIDL__ */
};
interface M_PenPenSubSystem
//# Comment for parent WPAbstract:
//---Symbol parentComment is undefined---
{
#ifdef __SOMIDL__
implementation {
//# Class Modifiers
local;
functionprefix = pssM_;
majorversion = 1;
minorversion = 1;
filestem = wppensys;
callstyle = oidl;
//# Method Modifiers
wpclsQueryTitle: override;
wpclsQueryDefaultHelp: override;
wpclsQueryDefaultView: override;
wpclsQueryStyle: override;
wpclsQueryIconData: override;
};
#endif /* __SOMIDL__ */
};
#endif /* wppensys_idl */