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

  1. /* @(#)Z 1.6 com/src/imaging/idl/PlatCanv.idl, odimaging, od96os2, odos29712d 97/03/21 17:21:39 (96/10/29 09:25:53) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odimaging
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 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. /*  Licensed Materials - Property of IBM                            */
  31. /*                                                                  */
  32. /*                                                                  */
  33. /* Copyright (C) International Business Machines Corp., 1994.       */
  34. /* Copyright (C) Apple Computer, Inc., 1994                         */
  35. /*                                                                  */
  36. /*  US Government Users Restricted Rights -                         */
  37. /*  Use, duplication, or disclosure restricted                      */
  38. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  39. /*                                                                  */
  40. /*                                                                  */
  41. /********************************************************************/
  42. //#  Copyright:  (r) 1994-1995 by IBM, all rights reserved.
  43.  
  44. #ifndef _PLATCANV_
  45. #define _PLATCANV_
  46.  
  47. //==============================================================================
  48. // Mac OS types used in this interface
  49. //==============================================================================
  50.  
  51. #ifndef _ODTYPESM_
  52. #include "ODTypesM.idl"
  53. #endif // _ODTYPESM_
  54.  
  55. #ifndef _ODOBJECT_
  56. #include "ODObject.idl"
  57. #endif // _ODOBJECT_
  58.  
  59. //==============================================================================
  60. // Classes defined in this interface
  61. //==============================================================================
  62. interface ODPlatformCanvas;
  63.  
  64. //==============================================================================
  65. // Classes used in this interface
  66. //==============================================================================
  67.  
  68. //==============================================================================
  69. // ODPlatformCanvas
  70. //==============================================================================
  71.  
  72. interface ODPlatformCanvas :  ODObject
  73. {
  74.    ODPlatformCanvas    CreateConcreteCanvas(in ODGraphicsSystem aSystemType,
  75.                                                      in ODBoolean isDynamic,
  76.                                                      in ODBoolean isOffscreen);
  77.  
  78.    ODGraphicsSystem GetSystemType( );
  79.  
  80.    ODBoolean HasWindow( );
  81.  
  82.    ODBoolean IsInitialized( );
  83.  
  84.    ODPlatformCanvasType GetPlatformCanvasType();
  85.  
  86.  
  87. #ifdef __SOMIDL__
  88.   implementation
  89.   {
  90.   majorversion = 1; minorversion = 0;
  91.  
  92.   releaseorder:
  93.     CreateConcreteCanvas,
  94.     GetSystemType,
  95.     HasWindow,
  96.     IsInitialized,
  97.     GetPlatformCanvasType;
  98.  
  99.   functionprefix = ODPlatformCanvas;
  100.  
  101.   };
  102. #endif
  103. };
  104.  
  105. #endif // _PLATCANV_
  106.  
  107.  
  108.