Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
47
cde/programs/dtcalc/ds_xlib.h
Normal file
47
cde/programs/dtcalc/ds_xlib.h
Normal file
@@ -0,0 +1,47 @@
|
||||
/* $XConsortium: ds_xlib.h /main/3 1995/11/01 12:40:54 rswiston $ */
|
||||
/* *
|
||||
* ds_xlib.h *
|
||||
* Contains the NO_PROTO defines for functions is ds_xlib.h. *
|
||||
* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
* (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
|
||||
* (c) Copyright 1993, 1994 Novell, Inc. *
|
||||
*/
|
||||
|
||||
#ifndef _ds_xlib_h
|
||||
#define _ds_xlib_h
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xresource.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
#include <Xm/Xm.h>
|
||||
|
||||
/* For all function declarations, if ANSI then use a prototype. */
|
||||
|
||||
#if defined(__STDC__)
|
||||
#define P(args) args
|
||||
#else /* ! __STDC__ */
|
||||
#define P(args) ()
|
||||
#endif /* STDC */
|
||||
|
||||
/* Function declarations. */
|
||||
|
||||
char *ds_get_resource P((XrmDatabase, char *, char *)) ;
|
||||
|
||||
int ds_get_choice_value P((Widget)) ;
|
||||
int ds_get_strwidth P((XFontStruct *, char *)) ;
|
||||
int ds_save_resources P((XrmDatabase, char *)) ;
|
||||
|
||||
void ds_add_help P((Widget, char *)) ;
|
||||
void ds_beep P((Display *)) ;
|
||||
void ds_get_geometry_size P((char *, int *, int *)) ;
|
||||
void ds_get_frame_size P((Widget, int *, int *, int *, int *)) ;
|
||||
void ds_put_resource P((XrmDatabase *, char *, char *, char *)) ;
|
||||
void ds_save_cmdline P((Display *, Window, int, char **)) ;
|
||||
void ds_set_choice_value P((Widget, int)) ;
|
||||
void ds_set_frame_size P((Widget, int, int, int, int)) ;
|
||||
|
||||
XrmDatabase ds_load_resources P((Display *)) ;
|
||||
|
||||
#endif /*_ds_xlib_h*/
|
||||
Reference in New Issue
Block a user