Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:27

0001 /* 
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022  */ 
0023 #ifndef _XmPrintShellP_h
0024 #define _XmPrintShellP_h
0025 
0026 #include <Xm/XmP.h>
0027 #include <X11/ShellP.h>
0028 #include <Xm/Print.h>
0029 
0030 
0031 #ifdef __cplusplus
0032 extern "C" {
0033 #endif
0034 
0035 /* 
0036  * we make it a appShell subclass so it can have it's own instance
0037  * hierarchy
0038  */
0039 
0040 typedef struct {
0041     XmSyntheticResource * syn_resources;   
0042     int                   num_syn_resources;   
0043     XtPointer             extension;
0044 } XmPrintShellClassPart;
0045 
0046 typedef struct _XmPrintShellClassRec{
0047     CoreClassPart           core_class;
0048     CompositeClassPart      composite_class;
0049     ShellClassPart          shell_class;
0050     WMShellClassPart        wm_shell_class;
0051     VendorShellClassPart    vendor_shell_class;
0052     TopLevelShellClassPart  top_level_shell_class;
0053     ApplicationShellClassPart   application_shell_class;
0054     XmPrintShellClassPart   print_shell_class;
0055 } XmPrintShellClassRec;
0056 
0057 
0058 typedef struct {
0059     Boolean          xp_connected ;
0060     Boolean          last_page ;
0061     unsigned short   print_resolution ;
0062     Position         min_x, min_y, max_x, max_y ;
0063     unsigned short   default_pixmap_resolution ;
0064     XtCallbackList   start_job_callback;
0065     XtCallbackList   end_job_callback;
0066     XtCallbackList   page_setup_callback;
0067     XtCallbackList   pdm_notification_callback ;
0068 } XmPrintShellPart, *XmPrintShellPartPtr;
0069 
0070 
0071 typedef struct _XmPrintShellRec{
0072     CorePart        core;
0073     CompositePart   composite;
0074     ShellPart       shell;
0075     WMShellPart     wm;
0076     VendorShellPart vendor;
0077     TopLevelShellPart   topLevel;
0078     ApplicationShellPart application;
0079     XmPrintShellPart     print;
0080 } XmPrintShellRec;
0081 
0082 externalref XmPrintShellClassRec    xmPrintShellClassRec;
0083 
0084 #ifdef __cplusplus
0085 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0086 #endif
0087 
0088 #endif /* _XmPrintShellP_h */
0089 /* DON'T ADD STUFF AFTER THIS #endif */
0090