home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK2.DSK
/
PENSOUND.IDL
< prev
next >
Wrap
Text File
|
1994-09-28
|
3KB
|
145 lines
//# This file was generated by the SOM Compiler.
//# FileName: pensound.id2.
//# Generated using:
//# SOM Precompiler somopc: 2.7
//# SOM Emitter emitidl: 2.22
// SCC: @(#) 01 3/11/93 10:48:59 1.4 @(#)
// Module Header
//
// Module Name: PENSOUND
//
// OS/2 Presentation Manager Workplace class definitions
//
// Copyright (c) International Business Machines Corporation 1991, 1992
//
#ifndef pensound_idl
#define pensound_idl
#include "wpsound.idl"
#include <somcls.idl>
interface M_PenSound;
interface PenSound : WPSound
//# Comment for parent WPSound:
//---Symbol parentComment is undefined---
//
// CLASS: PenSound
//
// CLASS HIERARCHY:
// SOMObject
// └── WPObject
// └── WPAbstract
// └── WPSound
// └── PenSound
//
// DESCRIPTION:
// This is the sound for pen 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, "Sound" and resides in the "System Setup" folder.
//
// This class will replace its parent class in the workplace
// hierarchy
//
{
ULONG penAddPenPauseBeepPage(in HWND hwndNotebook);
//
// METHOD: penAddPenPauseBeepPage ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the the configuration page to the pen sound settings notebook
// that allows the user to set the beep frequency.
//
#ifdef __PRIVATE__
USHORT penGetPauseFreqSliderPos();
//
// METHOD: penGetPauseFreqSliderPos (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
//
BOOL penSetPauseFreqSliderPos(in ULONG ulPos);
//
// METHOD: penSetPauseFreqSliderPos (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
//
#endif
#ifdef __SOMIDL__
implementation {
releaseorder: penAddPenPauseBeepPage,penGetPauseFreqSliderPos,penSetPauseFreqSliderPos;
//# Class Modifiers
local;
functionprefix = snd_;
majorversion = 1;
minorversion = 2;
filestem = pensound;
callstyle = oidl;
#ifdef __PRIVATE__
passthru C_ih_before = ""
" #define PSOUND_VERSION_MAJOR 1"
" #define PSOUND_VERSION_MINOR 2"
""
" /* help res ids */"
" #define SOUNDDLG_HELPRES 40001"
""
" #define PPMSV_PAUSEBEEPFREQ_NULL 0"
" #define IDKEY_PAUSE_FREQ_SLIDER_POS 1";
#endif /* __PRIVATE__ */
//
// #define PSOUND_VERSION_MAJOR 1
// #define PSOUND_VERSION_MINOR 2
//
// /* help res ids */
// #define SOUNDDLG_HELPRES 40001
//
// #define PPMSV_PAUSEBEEPFREQ_NULL 0
// #define IDKEY_PAUSE_FREQ_SLIDER_POS 1
//# Internal Instance Variables
ULONG ulPauseFreqSliderPos;
//# Method Modifiers
wpInitData: override;
wpSaveState: override;
wpRestoreState: override;
wpAddSettingsPages: override;
//# Data Modifiers
#ifdef __PRIVATE__
//# Data Modifiers
#endif
};
#endif /* __SOMIDL__ */
};
#endif /* pensound_idl */