[9756] | 1 | /* |
---|
| 2 | * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. |
---|
| 3 | * ALL RIGHTS RESERVED |
---|
| 4 | */ |
---|
| 5 | /* |
---|
| 6 | * Motif Release 1.2 |
---|
| 7 | */ |
---|
| 8 | /* $RCSfile: WmResParse.h,v $ $Revision: 1.1.1.1 $ $Date: 1997-03-25 09:12:26 $ */ |
---|
| 9 | /* |
---|
| 10 | * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */ |
---|
| 11 | |
---|
| 12 | #include <stdio.h> |
---|
| 13 | |
---|
| 14 | #ifdef _NO_PROTO |
---|
| 15 | |
---|
| 16 | extern void ProcessWmFile (); |
---|
| 17 | extern void ProcessCommandLine (); |
---|
| 18 | extern void ProcessMotifBindings (); |
---|
| 19 | extern FILE * FopenConfigFile (); |
---|
| 20 | extern void FreeMenuItem (); |
---|
| 21 | extern unsigned char * GetNextLine (); |
---|
| 22 | extern unsigned char * GetString (); |
---|
| 23 | |
---|
| 24 | extern Boolean ParseBtnEvent (); |
---|
| 25 | extern Boolean ParseKeyEvent (); |
---|
| 26 | extern void ParseButtonStr (); |
---|
| 27 | extern void ParseKeyStr (); |
---|
| 28 | extern MenuItem * ParseMwmMenuStr (); |
---|
| 29 | |
---|
| 30 | extern int ParseWmFunction (); |
---|
| 31 | extern void ProcessWmFile (); |
---|
| 32 | extern void PWarning (); |
---|
| 33 | extern void SaveMenuAccelerators (); |
---|
| 34 | extern void ScanAlphanumeric (); |
---|
| 35 | extern void ScanWhitespace (); |
---|
| 36 | extern void ToLower (); |
---|
| 37 | extern void SyncModifierStrings(); |
---|
| 38 | |
---|
| 39 | #else /* _NO_PROTO */ |
---|
| 40 | |
---|
| 41 | extern void ProcessWmFile (WmScreenData *pSD); |
---|
| 42 | extern void ProcessCommandLine (int argc, char *argv[]); |
---|
| 43 | extern void ProcessMotifBindings (void); |
---|
| 44 | extern FILE * FopenConfigFile (void); |
---|
| 45 | extern void FreeMenuItem (MenuItem *menuItem); |
---|
| 46 | extern unsigned char * GetNextLine (void); |
---|
| 47 | extern unsigned char * GetString (unsigned char **linePP); |
---|
| 48 | extern Boolean ParseBtnEvent (unsigned char **linePP, |
---|
| 49 | unsigned int *eventType, |
---|
| 50 | unsigned int *button, |
---|
| 51 | unsigned int *state, |
---|
| 52 | Boolean *fClick); |
---|
| 53 | |
---|
| 54 | extern void ParseButtonStr (WmScreenData *pSD, unsigned char *buttonStr); |
---|
| 55 | extern void ParseKeyStr (WmScreenData *pSD, unsigned char *keyStr); |
---|
| 56 | extern Boolean ParseKeyEvent (unsigned char **linePP, unsigned int *eventType, |
---|
| 57 | KeyCode *keyCode, unsigned int *state); |
---|
| 58 | extern MenuItem * ParseMwmMenuStr (WmScreenData *pSD, unsigned char *menuStr); |
---|
| 59 | extern int ParseWmFunction (unsigned char **linePP, unsigned int res_spec, WmFunction *pWmFunction); |
---|
| 60 | extern void ProcessWmFile (WmScreenData *pSD); |
---|
| 61 | extern void PWarning (char *message); |
---|
| 62 | extern void SaveMenuAccelerators (WmScreenData *pSD, MenuSpec *newMenuSpec); |
---|
| 63 | extern void ScanAlphanumeric (unsigned char **linePP); |
---|
| 64 | extern void ScanWhitespace(unsigned char **linePP); |
---|
| 65 | extern void ToLower (unsigned char *string); |
---|
| 66 | extern void SyncModifierStrings(void); |
---|
| 67 | #endif /* _NO_PROTO */ |
---|