home *** CD-ROM | disk | FTP | other *** search
- /*
- GIK/2 1.0.1 EWYBACC.H 5621-432 (C) COPYRIGHT IBM CORP 1993. ALL RIGHTS RESERVED. LICENSED MATERIALS - PROPERTY OF IBM.
- */
- /**********************************************************************/
- /* */
- /* MODULE PROLOGUE */
- /* */
- /* COMPONENT NAME: C++ CLASS BROWSER EXAMPLE */
- /* */
- /* MODULE NAME: EWYBACC.H */
- /* */
- /* DESCRIPTIVE NAME: Custom Dialogs and Routines */
- /* */
- /* PURPOSE: Header file */
- /* */
- /* COPYRIGHT: (C) 1993 IBM Corporation */
- /* */
- /* DISCLAIMER OF WARRANTIES. The following [enclosed] code is */
- /* sample code created by IBM Corporation. This sample code is not */
- /* part of any standard or IBM product and is provided to you solely */
- /* for the purpose of assisting you in the development of your */
- /* applications. The code is provided "AS IS", without */
- /* warranty of any kind. IBM shall not be liable for any damages */
- /* arising out of your use of the sample code, even if they have been */
- /* advised of the possibility of such damages. */
- /**********************************************************************/
-
- #define MAX_UPLINKS 8
- #define CLASS_NAMELENGTH 32
- typedef struct _NODETYPE
- {
- SHND hSym; /* symbol handle */
- SHND hUpLink; /* up link */
- SHND hUpLinkMulti[MAX_UPLINKS];/* up links */
- CHAR szClassName[CLASS_NAMELENGTH];/* C++ class name */
- PSZ pszMethods; /* class methods */
- BOOL fDisplay; /* displayable flag */
- struct _NODETYPE *pUpLink; /* parent of node */
- struct _NODETYPE *pUpLinkMulti[MAX_UPLINKS];/* multiple parents */
- struct _NODETYPE *pLeftDown; /* left child */
- struct _NODETYPE *pRightDown; /* right child */
- struct _NODETYPE *pLeftSame; /* left sibling */
- struct _NODETYPE *pRightSame; /* right sibling */
- } NODETYPE,*PNODETYPE;
-
- VOID BuildTree(DHND hDiag,PSZ pszFile);
- VOID ShowClassMethods(DHND hDiag,SHND hSym);
- VOID InsertClass(DHND hDiag,PSZ pszName,PSZ pszParentName[],PSZ
- pszMethods);