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

  1. /* @(#)Z 1.3 os2/src/imaging/idl/OS2PCanv.idl, odimaging, od96os2, odos29712d 97/03/21 17:37:41 (96/08/23 01:42:04) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odimaging
  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. /********************************************************************/
  30. /*                                                                  */
  31. /* Copyright (C) Apple Computer, Inc., 1994                         */
  32. /*                                                                  */
  33. /********************************************************************/
  34.  
  35. #ifndef _OS2PCANV_
  36. #define _OS2PCANV_
  37.  
  38. //==============================================================================
  39. // Mac OS types used in this interface
  40. //==============================================================================
  41.  
  42. #ifndef _PLATCANV_
  43. #include "PlatCanv.idl"
  44. #endif // _PLATCANV_
  45.  
  46. //==============================================================================
  47. // Classes defined in this interface
  48. //==============================================================================
  49. interface ODOS2Canvas;
  50.  
  51.  
  52. //==============================================================================
  53. // ODOS2Canvas
  54. //==============================================================================
  55.  
  56. interface ODOS2Canvas :  ODPlatformCanvas
  57. {
  58.    void InitPlatformCanvas( in HPS hps );
  59.  
  60.    void    InitPlatformWindowCanvas( in HWND window );
  61.  
  62.    HPS GetPS( );
  63.  
  64.    void SetPS( in HPS hps );
  65.  
  66.    void ReleasePS( );
  67.  
  68.    HWND GetWindow( );
  69.  
  70. #ifdef __SOMIDL__
  71.   implementation
  72.   {
  73.   majorversion = 1; minorversion = 0;
  74.  
  75.   releaseorder:
  76.     InitPlatformCanvas,
  77.     InitPlatformWindowCanvas,
  78.     GetPS,
  79.     ReleasePS,
  80.     SetPS,
  81.     GetWindow;
  82.  
  83.   override:
  84.     CreateConcreteCanvas,
  85.     GetSystemType,
  86.     HasWindow,
  87.     IsInitialized,
  88.     GetPlatformCanvasType;
  89.  
  90.   functionprefix = ODOS2Canvas;
  91.  
  92.   };
  93. #endif
  94. };
  95.  
  96. #endif // _OS2PCANV_
  97.