home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / include / Settings.idl < prev    next >
Text File  |  1997-04-02  |  4KB  |  124 lines

  1. /* @(#)Z 1.2.1.3 com/src/core/idl/Settings.idl, odcore, od96os2, odos29712d 97/03/21 17:18:15 (97/02/25 13:07:51) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odcore
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 82,27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#       
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27. //#
  28.  
  29. //#     Copyright:      (r) 1994 by Apple Computer, Inc., all rights reserved.
  30.  
  31. #ifndef _SETTINGS_
  32. #define _SETTINGS_
  33.  
  34. #ifndef _EXTENSN_
  35. #include "Extensn.idl"
  36. #endif
  37.  
  38. //==============================================================================
  39. // Classes defined in this interface
  40. //==============================================================================
  41.  
  42. interface   ODSettingsExtension;
  43.  
  44. //==============================================================================
  45. // Classes used by this interface
  46. //==============================================================================
  47.  
  48. interface   ODFacet;
  49. interface   ODPart;
  50. #if defined(_PLATFORM_UNIX_)
  51. interface   ODNotebook;
  52. #endif
  53.  
  54. //==============================================================================
  55. // Implementation Types
  56. //==============================================================================
  57.  
  58. //typedef somToken HWND;
  59.  
  60.  
  61.  
  62. //==============================================================================
  63. // ODSettingsExtension
  64. //==============================================================================
  65.  
  66. interface ODSettingsExtension : ODExtension
  67. {
  68.         void InitSettingsExtension(in ODPart owner);
  69.  
  70.         void ShowSettings(in ODFacet facet);
  71.  
  72. #if defined(_PLATFORM_WIN32_)
  73.  
  74.         void ShowSettingsPages(in ODFacet facet, in HWND hPropSheetDlg);
  75.  
  76. #elif defined(_PLATFORM_UNIX_)
  77.  
  78.         void ShowSettingsPages(in ODFacet facet, in ODNotebook notebook);
  79.  
  80. #elif defined(_PLATFORM_OS2_)
  81.  
  82.         void ShowSettingsPages(in ODFacet facet, in HWND parent,
  83.                                in ULONG notebookID);
  84.         void AddNotebookSheet(in HWND hwnd, in ULONG pageId);
  85.  
  86. #endif // _PLATFORM_OS2_
  87.  
  88.  
  89. #ifdef __SOMIDL__
  90.         implementation
  91.         {
  92.                 functionprefix = ODSettingsExtension;
  93.  
  94.                 override:
  95.                         somUninit,
  96.                         Release;
  97.                 releaseorder:
  98.                         InitSettingsExtension,
  99.                         ShowSettings,
  100. #if defined(_PLATFORM_OS2_)
  101.                         AddNotebookSheet,
  102.                         reserved1,
  103. #endif
  104.                         ShowSettingsPages;
  105.  
  106.  
  107.           passthru C_xh =
  108.                 ""
  109. #if defined(_PLATFORM_OS2_)
  110.                 "#include <os2.h> "
  111. #endif
  112.                 "";
  113.  
  114.  
  115. #if defined(_PLATFORM_OS2_)
  116. #endif
  117.  
  118.         };
  119. #endif // __SOMIDL__
  120. };
  121.  
  122.  
  123. #endif //# _SETTINGS_
  124.