Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-03 08:56:49

0001 /*
0002  * $Id$
0003  *
0004  * $Log$
0005  * Revision 1.2  1996/04/16 13:26:38  gunter
0006  * Mods to compile kuipc. The includes needed only for kuipc where moved
0007  *  to kuipc, together with m4 files to create/update these header files.
0008  *
0009  * Revision 1.1.1.1  1996/03/08 15:32:59  mclareni
0010  * Kuip
0011  *
0012  */
0013 /* kbrow.h: browser definitions */
0014 
0015 #define __ /* nul */
0016 
0017 #include "kbrow1.h"
0018 
0019 #include "kbrow2.h"
0020 
0021 #include "kbrow3.h"
0022 
0023 #include "kbrow4.h"
0024 
0025 #undef __
0026 
0027 typedef struct _KmObject {
0028   struct _KmObject *next;       /* link to next object definition */
0029   char       *name;             /* unique identifier name */
0030   char       *stext;            /* short description text */
0031   char       *ltext;            /* long description text */
0032   KmClass    *class;            /* pointer to objects's class structure */
0033 } KmObject;
0034 
0035 typedef struct _BrVariable {
0036   struct _BrVariable *next;     /* link to next variable definition */
0037   char       *name;             /* variable name */
0038   char       *value;            /* replacement value */
0039 } BrVariable;
0040 
0041 typedef struct _BrObject {
0042   struct _BrObject *next;       /* link to next browsable object */
0043   char       *name;             /* name of the browsable object */
0044   BrClass    *class;            /* pointer to browsable's class structure */
0045   BrVariable *vars;             /* linked list of variable substitutions */
0046 } BrObject;
0047 
0048 typedef struct _BrClientdata {
0049   BrActTag    tag;
0050   const char *brobj;
0051   const char *brcls;
0052   const char *path;
0053   const char *kmobj;
0054   const char *kmcls;
0055   const char *stext;
0056   const char *ltext;
0057   const char *mtext;
0058 } BrClientdata;
0059 
0060 EXTERN BrClass  *brclasses;
0061 EXTERN KmObject *kmobjects;
0062 EXTERN KmButton *kmbuttons;
0063 
0064 extern void  klnkbrcl( BrClass*, int );
0065 extern void  klnkkmcl( KmClass*, int );
0066 extern void  klnkicon( KmIcon*, int );
0067 extern void  klnkbutt( KmButton*, int );
0068 
0069 extern void  exec_action( BrAction*, const char*, const char*, int,
0070                          KmWidget, KmCalldata );
0071 extern KmWidget find_button( const char*, const char* );
0072 extern KmIcon* find_kmicon( const char* );
0073 extern KmClass* find_kmclass( const char* );
0074 extern BrObject* find_brobject( const char* );
0075 extern char* get_variable( const char*, const char* );
0076 extern BrObject* scan_brobjects(void);
0077 extern KmObject* scan_kmobjects( const char*, const char*, int );
0078 extern int   set_action( const char*, int, int, const char*, const char*,
0079                         int, int );
0080 extern void  set_variable( BrObject*, const char*, const char* );
0081 
0082