source: trunk/third/mwm/WmResParse.h @ 9757

Revision 9757, 2.6 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9756, which included commits to RCS files with non-trunk default branches.
Line 
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
16extern void ProcessWmFile ();
17extern void ProcessCommandLine ();
18extern void ProcessMotifBindings ();
19extern FILE          * FopenConfigFile ();
20extern void            FreeMenuItem ();
21extern unsigned char * GetNextLine ();
22extern unsigned char * GetString ();
23
24extern Boolean          ParseBtnEvent ();
25extern Boolean          ParseKeyEvent ();
26extern void            ParseButtonStr ();
27extern void            ParseKeyStr ();
28extern MenuItem      * ParseMwmMenuStr ();
29 
30extern int             ParseWmFunction ();
31extern void            ProcessWmFile ();
32extern void            PWarning ();
33extern void            SaveMenuAccelerators ();
34extern void             ScanAlphanumeric ();
35extern void            ScanWhitespace ();
36extern void            ToLower ();
37extern void             SyncModifierStrings();
38
39#else /* _NO_PROTO */
40
41extern void ProcessWmFile (WmScreenData *pSD);
42extern void ProcessCommandLine (int argc,  char *argv[]);
43extern void ProcessMotifBindings (void);
44extern FILE          * FopenConfigFile (void);
45extern void            FreeMenuItem (MenuItem *menuItem);
46extern unsigned char * GetNextLine (void);
47extern unsigned char * GetString (unsigned char **linePP);
48extern Boolean ParseBtnEvent (unsigned char  **linePP,
49                              unsigned int *eventType,
50                              unsigned int *button,
51                              unsigned int *state,
52                              Boolean      *fClick);
53
54extern void            ParseButtonStr (WmScreenData *pSD, unsigned char *buttonStr);
55extern void            ParseKeyStr (WmScreenData *pSD, unsigned char *keyStr);
56extern Boolean ParseKeyEvent (unsigned char **linePP, unsigned int *eventType,
57                       KeyCode *keyCode,  unsigned int *state);
58extern MenuItem      * ParseMwmMenuStr (WmScreenData *pSD, unsigned char *menuStr);
59extern int             ParseWmFunction (unsigned char **linePP, unsigned int res_spec, WmFunction *pWmFunction);
60extern void            ProcessWmFile (WmScreenData *pSD);
61extern void            PWarning (char *message);
62extern void            SaveMenuAccelerators (WmScreenData *pSD, MenuSpec *newMenuSpec);
63extern void      ScanAlphanumeric (unsigned char **linePP);
64extern void            ScanWhitespace(unsigned char  **linePP);
65extern void            ToLower (unsigned char  *string);
66extern void             SyncModifierStrings(void);
67#endif /* _NO_PROTO */
Note: See TracBrowser for help on using the repository browser.