1 /* 2 * CDE - Common Desktop Environment 3 * 4 * Copyright (c) 1993-2012, The Open Group. All rights reserved. 5 * 6 * These libraries and programs are free software; you can 7 * redistribute them and/or modify them under the terms of the GNU 8 * Lesser General Public License as published by the Free Software 9 * Foundation; either version 2 of the License, or (at your option) 10 * any later version. 11 * 12 * These libraries and programs are distributed in the hope that 13 * they will be useful, but WITHOUT ANY WARRANTY; without even the 14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 15 * PURPOSE. See the GNU Lesser General Public License for more 16 * details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with these librararies and programs; if not, write 20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 21 * Floor, Boston, MA 02110-1301 USA 22 */ 23 /* $XConsortium: HelpQuickD.h /main/3 1995/10/26 12:25:25 rswiston $ */ 24 /* 25 * (c) Copyright 1993, 1994 Hewlett-Packard Company 26 * (c) Copyright 1993, 1994 International Business Machines Corp. 27 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. 28 * (c) Copyright 1993, 1994 Novell, Inc. 29 */ 30 31 #ifndef _Dt_HelpQuickD_h 32 #define _Dt_HelpQuickD_h 33 34 #include <Dt/Help.h> 35 36 #ifdef __cplusplus 37 extern "C" { 38 #endif 39 40 41 /* 42 * Constants 43 */ 44 45 /* Quick help dialog-specific Resources */ 46 47 #ifndef DtNbackLabelString 48 #define DtNbackLabelString "backLabelString" 49 #endif 50 #ifndef DtNhelpLabelString 51 #define DtNhelpLabelString XmNhelpLabelString 52 #endif 53 #ifndef DtNmoreLabelString 54 #define DtNmoreLabelString "moreLabelString" 55 #endif 56 #ifndef DtNcloseLabelString 57 #define DtNcloseLabelString "closeLabelString" 58 #endif 59 #ifndef DtNprintLabelString 60 #define DtNprintLabelString "printLabelString" 61 #endif 62 63 #ifndef DtCCallback 64 #define DtCCallback XmCCallback 65 #endif 66 67 #ifndef DtCBackLabelString 68 #define DtCBackLabelString "BackLabelString" 69 #endif 70 #ifndef DtCHelpLabelString 71 #define DtCHelpLabelString XmCHelpLabelString 72 #endif 73 #ifndef DtCMoreLabelString 74 #define DtCMoreLabelString "MoreLabelString" 75 #endif 76 #ifndef DtCCloseLabelString 77 #define DtCCloseLabelString "CloseLabelString" 78 #endif 79 #ifndef DtCPrintLabelString 80 #define DtCPrintLabelString "PrintLabelString" 81 #endif 82 83 84 /* 85 * Types 86 */ 87 88 /* Widget class and instance */ 89 90 typedef struct _DtHelpQuickDialogWidgetClassRec * DtHelpQuickDialogWidgetClass; 91 typedef struct _DtHelpQuickDialogWidgetRec * DtHelpQuickDialogWidget; 92 93 94 /* 95 * Data 96 */ 97 98 /* Widget class record */ 99 100 externalref WidgetClass dtHelpQuickDialogWidgetClass; 101 102 103 /* 104 * Functions 105 */ 106 107 /* tmp backwards compat */ 108 #define DtCreateQuickHelpDialog DtCreateHelpQuickDialog 109 110 extern Widget DtCreateHelpQuickDialog( 111 Widget parent, 112 char *name, 113 ArgList arglist, 114 Cardinal argcount); 115 116 extern Widget DtHelpQuickDialogGetChild( 117 Widget widget, 118 unsigned char child); 119 120 #ifdef __cplusplus 121 } 122 #endif 123 124 #endif /* _Dt_HelpQuickD_h */ 125