home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 113 / EnigmaAmiga113CD.iso / software / sviluppo / easygui_os12 / source / hybrid / version.e < prev   
Encoding:
Text File  |  2000-06-11  |  794 b   |  24 lines

  1. /* RST: handy procedures to allow easy version sensitive coding
  2.  
  3.    Please do not redistribute modified versions of this code. If you have
  4.    any ideas how to make things better contact me at metamonk@yahoo.com.
  5.  
  6.    Also, please do not distribute further 'hybrid/#?' modules since there
  7.    is already a large amount of additional stuff in work. Contact me...
  8.  
  9.    This code is Copyright (c) 2000, Ralf 'hippie2000' Steines, and
  10.    inherits the legal state from the original EasyGUI disctribution. */
  11.  
  12. -> shares gfxbase and intuitionbase with the caller.
  13.  
  14. OPT MODULE
  15. OPT EXPORT
  16.  
  17. MODULE 'exec/libraries'
  18.  
  19. PROC libVersion(lib:PTR TO lib,minver) RETURN lib.version>=minver
  20.  
  21. PROC intuiVersion(minver) RETURN libVersion(intuitionbase,minver)
  22.  
  23. PROC gfxVersion(minver) RETURN libVersion(gfxbase,minver)
  24.