home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / IBMCLASS / ISYNONYM.HPP < prev    next >
Text File  |  1993-09-22  |  2KB  |  41 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 being 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. *   IBM C/C++ Tools Version 2.01 - Collection Class Library                    *
  21. *   Licensed Materials - Property of IBM                                       *
  22. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  23. *   All Rights Reserved                                                        *
  24. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  25. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  26. *                                                                              *
  27. *******************************************************************************/
  28.  
  29. typedef int Boolean;
  30.  
  31. typedef int IBoolean;
  32.  
  33. typedef enum {
  34.   false         = 0,
  35.   False         = 0,
  36.   true          = 1,
  37.   True          = 1
  38. };
  39.  
  40. #endif /* _ISYNONYM_ */
  41.