home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK2.DSK
/
WPLOCATR.IDL
< prev
next >
Wrap
Text File
|
1994-09-28
|
7KB
|
282 lines
//# This file was generated by the SOM Compiler.
//# FileName: wplocatr.id2.
//# Generated using:
//# SOM Precompiler somopc: 2.7
//# SOM Emitter emitidl: 2.22
// SCC: @(#) 47 4/28/94 09:57:08 1.13 @(#)
// Module Header
//
// Module Name: WPLOCATR
//
// OS/2 Presentation Manager Workplace class definitions
//
// Copyright (c) International Business Machines Corporation 1992
//
#ifndef wplocatr_idl
#define wplocatr_idl
#include "penbtndv.idl"
#include <somcls.idl>
interface M_PenLocator;
interface PenLocator : PenButtonDevice
//# Comment for parent PenButtonDevice:
//---Symbol parentComment is undefined---
//
// CLASS: PenLocator
//
// CLASS HIERARCHY:
// SOMObject
// └── WPObject
// └── WPAbstract
// └── PenLocator
//
// DESCRIPTION:
// This is the Locator 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, "Locator" and resides in the "System Setup" folder.
//
{
ULONG penAddLocatorTimingPage(in HWND hwndNotebook);
//
// METHOD: penAddLocatorTimingPage ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the timing configuration page to the locator settings
// notebook
//
BOOL penSetCalProgram(in PSZ pszName);
//
// METHOD: penSetCalProgram (X) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Set the Calibration Program Name
//
PSZ penQueryCalProgram();
//
// METHOD: penQueryCalProgram (X) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Return the Calibration Program Name
BOOL penSetCalParms(in PSZ pszCalParms);
//
// METHOD: penSetCalParms (X) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Set the Calibration Parameters flag
//
PSZ penQueryCalParms();
//
// METHOD: penQueryCalParms (X) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Return the Calibration Parameters flag
#ifdef __PRIVATE__
PSZ penDummyPrivate();
//
// METHOD: penDummyPrivate ( ) PRIVATE
// (X) PUBLIC
#endif
#ifdef __SOMIDL__
implementation {
releaseorder: penAddLocatorTimingPage,penQueryCalProgram,penSetCalProgram,
penDummyPrivate,penSetCalParms,penQueryCalParms;
//# Class Modifiers
local;
functionprefix = lct_;
majorversion = 1;
minorversion = 1;
filestem = wplocatr;
metaclass = M_PenLocator;
callstyle = oidl;
#ifdef __PRIVATE__
passthru C_ih_before = ""
"#include \"penbtndv.ih\""
""
"#define LOCATOR_VERSION_MAJOR 1"
"#define LOCATOR_VERSION_MINOR 1"
""
"#define SVDEFAULT_DBL_TAP_RATE 700"
""
"/* help res ids */"
""
"#define PENLOCATOR_DEFAULTHELP 40068"
"#define TIMINGDLG_HELPRES 40069"
"#define CALIBRATE_HELPRES 20798"
"";
#endif /* __PRIVATE__ */
//
//#include "penbtndv.ph"
//
//#define LOCATOR_VERSION_MAJOR 1
//#define LOCATOR_VERSION_MINOR 1
//
//#define SVDEFAULT_DBL_TAP_RATE 700
//
///* help res ids */
//
//#define PENLOCATOR_DEFAULTHELP 40068
//#define TIMINGDLG_HELPRES 40069
//#define CALIBRATE_HELPRES 20798
//
//# Internal Instance Variables
UCHAR CalibrateProg[128];
UCHAR CalParms[128];
ULONG ulPauseTime;
ULONG ulOldPauseTime;
ULONG ulDefaultPauseTime;
ULONG ulPauseEnable;
ULONG ulOldPauseEnable;
ULONG ulDefaultPauseEnable;
USHORT usPauseId;
USHORT usPauseEnableId;
//# Method Modifiers
wpOpen: override;
wpAddSettingsPages: override;
wpAddObjectWindowPage: override;
wpFilterPopupMenu: override;
wpSetup: override;
wpInitData: override;
wpUnInitData: override;
wpRestoreState: override;
wpSaveState: override;
wpModifyPopupMenu: override;
wpMenuItemSelected: override;
wpMenuItemHelpSelected: override;
//# Data Modifiers
ulPauseTime: internal;
ulOldPauseTime: internal;
ulDefaultPauseTime: internal;
ulPauseEnable: internal;
ulOldPauseEnable: internal;
ulDefaultPauseEnable: internal;
usPauseId: internal;
usPauseEnableId: internal;
#ifdef __PRIVATE__
//# Data Modifiers
penDummyPrivate: namelookup;
#endif
};
#endif /* __SOMIDL__ */
};
interface M_PenLocator
//# Comment for parent PenButtonDevice:
//---Symbol parentComment is undefined---
{
ULONG penclsQueryDefaultPause();
//
// METHOD: penclsQueryDefaultPause ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Return the default system setting for Pause
//
ULONG penclsQueryPauseEnableDefault();
//
// METHOD: penclsQueryPauseEnableDefault ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Return the default system setting for Pause Enable
//
#ifdef __PRIVATE__
USHORT penclsQueryPauseId();
//
// METHOD: penclsQueryPauseId (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Return the system setting id for Pause
//
USHORT penclsQueryPauseEnableId();
//
// METHOD: penclsQueryPauseEnableId (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Return the system setting id for Pause Enable
//
#endif
#ifdef __SOMIDL__
implementation {
releaseorder: penclsQueryPauseId,penclsQueryPauseEnableId,penclsQueryDefaultPause,
penclsQueryPauseEnableDefault;
//# Class Modifiers
local;
functionprefix = lctM_;
majorversion = 1;
minorversion = 1;
filestem = wplocatr;
callstyle = oidl;
//# Method Modifiers
wpclsQueryTitle: override;
wpclsQueryDefaultHelp: override;
wpclsQueryDefaultView: override;
wpclsQueryStyle: override;
wpclsQueryIconData: override;
#ifdef __PRIVATE__
//# Data Modifiers
#endif
};
#endif /* __SOMIDL__ */
};
#endif /* wplocatr_idl */