mirror of https://github.com/XEphem/XEphem.git
79 lines
2.1 KiB
C
79 lines
2.1 KiB
C
/* $XConsortium: PrintSP.h /main/8 1996/10/11 10:31:32 drk $ */
|
|
/*
|
|
* (c) Copyright 1996 Digital Equipment Corporation.
|
|
* (c) Copyright 1996 Hewlett-Packard Company.
|
|
* (c) Copyright 1996 International Business Machines Corp.
|
|
* (c) Copyright 1996 Sun Microsystems, Inc.
|
|
* (c) Copyright 1996 Novell, Inc.
|
|
* (c) Copyright 1996 FUJITSU LIMITED.
|
|
* (c) Copyright 1996 Hitachi.
|
|
*/
|
|
#ifndef _XmPrintShellP_h
|
|
#define _XmPrintShellP_h
|
|
|
|
#include <Xm/XmP.h>
|
|
#include <X11/ShellP.h>
|
|
#include <Xm/Print.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* we make it a appShell subclass so it can have it's own instance
|
|
* hierarchy
|
|
*/
|
|
|
|
typedef struct {
|
|
XmSyntheticResource * syn_resources;
|
|
int num_syn_resources;
|
|
XtPointer extension;
|
|
} XmPrintShellClassPart;
|
|
|
|
typedef struct _XmPrintShellClassRec{
|
|
CoreClassPart core_class;
|
|
CompositeClassPart composite_class;
|
|
ShellClassPart shell_class;
|
|
WMShellClassPart wm_shell_class;
|
|
VendorShellClassPart vendor_shell_class;
|
|
TopLevelShellClassPart top_level_shell_class;
|
|
ApplicationShellClassPart application_shell_class;
|
|
XmPrintShellClassPart print_shell_class;
|
|
} XmPrintShellClassRec;
|
|
|
|
|
|
typedef struct {
|
|
Boolean xp_connected ;
|
|
Boolean last_page ;
|
|
unsigned short print_resolution ;
|
|
Position min_x, min_y, max_x, max_y ;
|
|
unsigned short default_pixmap_resolution ;
|
|
XtCallbackList start_job_callback;
|
|
XtCallbackList end_job_callback;
|
|
XtCallbackList page_setup_callback;
|
|
XtCallbackList pdm_notification_callback ;
|
|
} XmPrintShellPart, *XmPrintShellPartPtr;
|
|
|
|
|
|
typedef struct _XmPrintShellRec{
|
|
CorePart core;
|
|
CompositePart composite;
|
|
ShellPart shell;
|
|
WMShellPart wm;
|
|
VendorShellPart vendor;
|
|
TopLevelShellPart topLevel;
|
|
ApplicationShellPart application;
|
|
XmPrintShellPart print;
|
|
} XmPrintShellRec;
|
|
|
|
externalref XmPrintShellClassRec xmPrintShellClassRec;
|
|
|
|
#ifdef __cplusplus
|
|
} /* Close scope of 'extern "C"' declaration which encloses file. */
|
|
#endif
|
|
|
|
#endif /* _XmPrintShellP_h */
|
|
/* DON'T ADD STUFF AFTER THIS #endif */
|
|
|