home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / gik2 / ewyio2eu.d2x / EWYBACC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-04  |  3.0 KB  |  50 lines

  1. /*
  2. GIK/2 1.0.1 EWYBACC.H 5621-432 (C) COPYRIGHT IBM CORP 1993.  ALL RIGHTS RESERVED.  LICENSED MATERIALS - PROPERTY OF IBM.
  3. */
  4. /**********************************************************************/
  5. /*                                                                    */
  6. /*                         MODULE PROLOGUE                            */
  7. /*                                                                    */
  8. /* COMPONENT NAME:   C++ CLASS BROWSER EXAMPLE                        */
  9. /*                                                                    */
  10. /* MODULE NAME:      EWYBACC.H                                        */
  11. /*                                                                    */
  12. /* DESCRIPTIVE NAME: Custom Dialogs and Routines                      */
  13. /*                                                                    */
  14. /* PURPOSE:          Header file                                      */
  15. /*                                                                    */
  16. /* COPYRIGHT:        (C) 1993 IBM Corporation                         */
  17. /*                                                                    */
  18. /* DISCLAIMER OF WARRANTIES.  The following [enclosed] code is        */
  19. /* sample code created by IBM Corporation. This sample code is not    */
  20. /* part of any standard or IBM product and is provided to you solely  */
  21. /* for the purpose of assisting you in the development of your        */
  22. /* applications.  The code is provided "AS IS", without               */
  23. /* warranty of any kind.  IBM shall not be liable for any damages     */
  24. /* arising out of your use of the sample code, even if they have been */
  25. /* advised of the possibility of such damages.                        */
  26. /**********************************************************************/
  27.  
  28. #define  MAX_UPLINKS             8
  29. #define  CLASS_NAMELENGTH        32
  30. typedef struct _NODETYPE
  31. {
  32.   SHND             hSym;               /* symbol handle               */
  33.   SHND             hUpLink;            /* up link                     */
  34.   SHND             hUpLinkMulti[MAX_UPLINKS];/* up links              */
  35.   CHAR             szClassName[CLASS_NAMELENGTH];/* C++ class name    */
  36.   PSZ              pszMethods;         /* class methods               */
  37.   BOOL             fDisplay;           /* displayable flag            */
  38.   struct _NODETYPE *pUpLink;           /* parent of node              */
  39.   struct _NODETYPE *pUpLinkMulti[MAX_UPLINKS];/* multiple parents     */
  40.   struct _NODETYPE *pLeftDown;         /* left child                  */
  41.   struct _NODETYPE *pRightDown;        /* right child                 */
  42.   struct _NODETYPE *pLeftSame;         /* left sibling                */
  43.   struct _NODETYPE *pRightSame;        /* right sibling               */
  44. } NODETYPE,*PNODETYPE;
  45.  
  46. VOID BuildTree(DHND hDiag,PSZ pszFile);
  47. VOID ShowClassMethods(DHND hDiag,SHND hSym);
  48. VOID InsertClass(DHND hDiag,PSZ pszName,PSZ pszParentName[],PSZ
  49.                   pszMethods);
  50.