home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / ibmcli / isynonym.hp_ / ISYNONYM.HPP
Encoding:
C/C++ Source or Header  |  1992-10-26  |  2.4 KB  |  47 lines

  1. #ifndef _ISYNONYM_
  2. #define _ISYNONYM_
  3. /*******************************************************************************
  4. * FILE NAME: isynonym.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file declares synonyms for the types and values nested within         *
  8. *   class IBase (see <ibase.hpp>).  #include-ing this file results in those    *
  9. *   names be placed in the global name space, permitting consistent usage      *
  10. *   in IBase derived classes and client code.                                  *
  11. *                                                                              *
  12. *   If these global names conflict with other usage of these names within      *
  13. *   a client application, then this file should be modified for use in such    *
  14. *   application.  For example, if you are using another library which          *
  15. *   utilizes the typedef Boolean, then change "Boolean" below to something     *
  16. *   like "IBoolean." "IBoolean" would then be used throughout your             *
  17. *   application.                                                               *
  18. *                                                                              *
  19. * COPYRIGHT:                                                                   *
  20. *   Licensed Materials - Property of IBM                                       *
  21. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  22. *   All Rights Reserved                                                        *
  23. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  24. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  25. *                                                                              *
  26. *$Log:   R:/IBMCLASS/IBASE/VCS/ISYNONYM.HPV  $                                                                         *
  27. //
  28. //   Rev 1.1   25 Oct 1992 16:46:38   nunn
  29. //changed library name to ICLUI
  30.    
  31.       Rev 1.0   12 Oct 1992 12:54:22   law
  32.    Initial revision.
  33. *******************************************************************************/
  34. #ifndef _IBASE_
  35.   #include <ibase.hpp>
  36. #endif
  37.  
  38. typedef int Boolean;
  39.  
  40. typedef enum
  41.   {
  42.   false = IBase::false,
  43.   true  = IBase::true
  44.   };
  45.  
  46. #endif /* _ISYNONYM_ */
  47.