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 libraries 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 */
88 Widget smHelpDialog; /* Help dialog for all topics */
94 extern DialogData smDD;
95 extern Arg uiArgs[20];
101 extern Widget CreateLockDialog( void ) ;
102 extern void ExitSession( Tt_message ) ;
103 extern int WarnMsgFailure( void ) ;
104 extern Widget CreateLockDialogWithCover( Widget ) ;
105 extern Widget CreateCoverDialog( int, Boolean ) ;
106 extern void ImmediateExit( int, Tt_message, Boolean ) ;
107 extern void ShowWaitState( Boolean ) ;
108 extern Boolean InitCursorInfo( void ) ;
109 extern void UpdatePasswdField( int );
110 extern int WarnNoStartup( void );
111 extern void DialogUp( Widget, XtPointer, XtPointer ) ;
112 void PostSaveSessionErrorDialog ( void );
113 extern int ConfirmExit( Tt_message, Boolean );
115 extern Boolean ConfirmSessionCreation (
120 extern void PostXSMPFailureDialog (
121 XSMPFailure failure_code,
122 Boolean check_errorlog);
124 extern void PostReasonsDialog (
128 Boolean waitForResponse);
131 /* DON'T ADD ANYTHING AFTER THIS #endif */