Debian Codegraph @

gui/GraphLib/libsrc/uimxR5/include/UxApplSh.h

raw
1 /* @(#)UxApplSh.h 17.1 (ESO-IPG) 01/25/02 17:25:58 */
2 #ifndef UXApplicationShell_INCLUDED
3 #define UXApplicationShell_INCLUDED
4
5 #include "X11/Shell.h"
6
7 #ifdef DESIGN_TIME
8 #include "UxTopSh.h"
9
10 #ifndef UxGetArgv
11 extern binptr UxP_ApplicationShellRD_argv;
12 #define UxGetArgv(sw) \
13 UxGET_stringTable(sw,UxP_ApplicationShellRD_argv,"argv")
14 #define UxPutArgv(sw,val) \
15 UxPUT_stringTable(sw,UxP_ApplicationShellRD_argv,"argv",val)
16 #endif
17
18 #ifndef UxGetArgc
19 extern binptr UxP_ApplicationShellRD_argc;
20 #define UxGetArgc(sw) \
21 UxGET_int(sw,UxP_ApplicationShellRD_argc,"argc")
22 #define UxPutArgc(sw,val) \
23 UxPUT_int(sw,UxP_ApplicationShellRD_argc,"argc",val)
24 #endif
25
26 extern Class_t UxC_applicationShell;
27 #define UxCreateApplicationShell(name,parent) \
28 UxCreateSwidget(UxC_applicationShell,name,parent)
29 #else
30 #define UxCreateApplicationShell(name,parent) \
31 UxCreateSwidget(name,applicationShellWidgetClass,parent)
32 #endif
33 #endif