home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK2.DSK / PENSOUND.IDL < prev    next >
Text File  |  1994-09-28  |  3KB  |  145 lines

  1.  
  2. //# This file was generated by the SOM Compiler.
  3. //# FileName: pensound.id2.
  4. //# Generated using:
  5. //#     SOM Precompiler somopc: 2.7
  6. //#     SOM Emitter emitidl: 2.22
  7.  
  8. //  SCC: @(#) 01 3/11/93 10:48:59 1.4 @(#)
  9. //  Module Header
  10. //
  11. //  Module Name: PENSOUND
  12. //
  13. //  OS/2 Presentation Manager Workplace class definitions
  14. //
  15. //  Copyright (c) International Business Machines Corporation 1991, 1992
  16. //
  17.  
  18. #ifndef pensound_idl
  19. #define pensound_idl
  20.  
  21. #include "wpsound.idl"
  22. #include <somcls.idl>
  23.  
  24. interface M_PenSound;
  25.  
  26. interface PenSound : WPSound
  27. //# Comment for parent WPSound:
  28.  
  29. //---Symbol parentComment is undefined---
  30.  
  31. //
  32. // CLASS: PenSound
  33. //
  34. // CLASS HIERARCHY:
  35. //    SOMObject
  36. //      └── WPObject
  37. //            └── WPAbstract
  38. //                  └── WPSound
  39. //                        └── PenSound
  40. //
  41. // DESCRIPTION:
  42. //    This is the sound for pen object class.
  43. //
  44. //    An instance of this class can be created as a Workplace object.
  45. //
  46. //    An instance of this class is created initially by the system.
  47. //    It has the title, "Sound" and resides in the "System Setup" folder.
  48. //
  49. //    This class will replace its parent class in the workplace
  50. //    hierarchy
  51. //
  52.  
  53. {
  54.   ULONG penAddPenPauseBeepPage(in HWND hwndNotebook);
  55.  
  56.   //
  57.   // METHOD: penAddPenPauseBeepPage                         ( ) PRIVATE
  58.   //                                                        (X) PUBLIC
  59.   // PURPOSE:
  60.   //   Add the the configuration page to the pen sound settings notebook
  61.   //   that allows the user to set the beep frequency.
  62.   //
  63.  
  64.  
  65. #ifdef __PRIVATE__
  66.  
  67.   USHORT penGetPauseFreqSliderPos();
  68.  
  69.   //
  70.   // METHOD: penGetPauseFreqSliderPos                       (x) PRIVATE
  71.   //                                                        ( ) PUBLIC
  72.   // PURPOSE:
  73.   //
  74.  
  75.   BOOL penSetPauseFreqSliderPos(in ULONG ulPos);
  76.  
  77.   //
  78.   // METHOD: penSetPauseFreqSliderPos                       (x) PRIVATE
  79.   //                                                        ( ) PUBLIC
  80.   // PURPOSE:
  81.   //
  82.  
  83.  
  84. #endif
  85.  
  86.  
  87. #ifdef __SOMIDL__
  88.   implementation {
  89.  
  90.     releaseorder: penAddPenPauseBeepPage,penGetPauseFreqSliderPos,penSetPauseFreqSliderPos;
  91.  
  92.     //# Class Modifiers
  93.     local;
  94.     functionprefix = snd_;
  95.     majorversion = 1;
  96.     minorversion = 2;
  97.     filestem = pensound;
  98.     callstyle = oidl;
  99.  
  100. #ifdef __PRIVATE__
  101.     passthru C_ih_before = ""
  102. "   #define PSOUND_VERSION_MAJOR           1"
  103. "   #define PSOUND_VERSION_MINOR           2"
  104. ""
  105. "   /* help res ids */"
  106. "   #define SOUNDDLG_HELPRES              40001"
  107. ""
  108. "   #define PPMSV_PAUSEBEEPFREQ_NULL      0"
  109. "   #define IDKEY_PAUSE_FREQ_SLIDER_POS   1";
  110. #endif /* __PRIVATE__ */
  111.  
  112.     //
  113.     //   #define PSOUND_VERSION_MAJOR           1
  114.     //   #define PSOUND_VERSION_MINOR           2
  115.     //
  116.     //   /* help res ids */
  117.     //   #define SOUNDDLG_HELPRES              40001
  118.     //
  119.     //   #define PPMSV_PAUSEBEEPFREQ_NULL      0
  120.     //   #define IDKEY_PAUSE_FREQ_SLIDER_POS   1
  121.  
  122.  
  123.     //# Internal Instance Variables
  124.     ULONG ulPauseFreqSliderPos;
  125.  
  126.     //# Method Modifiers
  127.     wpInitData: override;
  128.     wpSaveState: override;
  129.     wpRestoreState: override;
  130.     wpAddSettingsPages: override;
  131.  
  132.     //# Data Modifiers
  133.  
  134. #ifdef __PRIVATE__
  135.  
  136.     //# Data Modifiers
  137.  
  138. #endif
  139.  
  140.   };
  141. #endif /* __SOMIDL__ */
  142. };
  143.  
  144. #endif  /* pensound_idl */
  145.