2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
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)
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
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
23 /* $XConsortium: SmUI.h /main/14 1996/05/31 09:18:17 barstow $ */
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. *
30 /************************************<+>*************************************
31 ****************************************************************************
39 ** Variables and declarations needed for
40 ** User Interface for the session manager
43 ** (c) Copyright Hewlett-Packard Company, 1990.
47 ****************************************************************************
48 ************************************<+>*************************************/
69 Widget confExit; /* Exit confirmation dialogs*/
72 Widget lockDialog; /* lock-login shell */
73 Widget lockCoverDialog; /* lock-login shell */
74 Widget coverDialog[10]; /* Cover shell*/
75 Widget coverDrawing[10]; /* Cover drawing area */
76 Widget matte[2]; /* lock dialog pieces */
80 Widget deadWid; /* Bms-dead dialog */
81 Widget clientReasons; /* For client "reasons" */
82 Widget confirmSession; /* Confirm session selection */
83 Widget saveSession; /* Error dialog for Save_Session
85 XmString okString, cancelString, helpString;
86 XmString okLogoutString, cancelLogoutString;
87 Widget noStart; /* Cant start dt dialog */
89 Widget newProfile; /* new dtprofile dialog */
91 Widget smHelpDialog; /* Help dialog for all topics */
97 extern DialogData smDD;
98 extern Arg uiArgs[20];
104 extern Widget CreateLockDialog( void ) ;
105 extern void ExitSession( Tt_message ) ;
106 extern int WarnMsgFailure( void ) ;
107 extern Widget CreateLockDialogWithCover( Widget ) ;
108 extern Widget CreateCoverDialog( int, Boolean ) ;
109 extern void ImmediateExit( int, Tt_message, Boolean ) ;
110 extern void ShowWaitState( Boolean ) ;
111 extern Boolean InitCursorInfo( void ) ;
112 extern void UpdatePasswdField( int );
113 extern int WarnNoStartup( void );
114 extern void DialogUp( Widget, XtPointer, XtPointer ) ;
116 extern int WarnNewProfile( void );
118 void PostSaveSessionErrorDialog ( void );
119 extern int ConfirmExit( Tt_message, Boolean );
121 extern Boolean ConfirmSessionCreation (
126 extern void PostXSMPFailureDialog (
127 XSMPFailure failure_code,
128 Boolean check_errorlog);
130 extern void PostReasonsDialog (
134 Boolean waitForResponse);
137 /* DON'T ADD ANYTHING AFTER THIS #endif */