Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtmail / dtmail / QueryDialogManager.C
1 /*
2  *+SNOTICE
3  *
4  *      $XConsortium: QueryDialogManager.C /main/4 1996/04/21 19:43:02 drk $
5  *
6  *      RESTRICTED CONFIDENTIAL INFORMATION:
7  *      
8  *      The information in this document is subject to special
9  *      restrictions in a confidential disclosure agreement between
10  *      HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
11  *      document outside HP, IBM, Sun, USL, SCO, or Univel without
12  *      Sun's specific written approval.  This document and all copies
13  *      and derivative works thereof must be returned or destroyed at
14  *      Sun's request.
15  *
16  *      Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
17  *
18  *+ENOTICE
19  */
20
21 #ifdef DEAD_WOOD
22
23 #include "QueryDialogManager.hh"
24 #include "RoamApp.h"
25 #include <Xm/Xm.h>
26 #include <Xm/MessageB.h>
27
28 QueryDialogManager *theQueryDialogManager = 
29     new QueryDialogManager ( "QueryDialog" );
30
31
32 QueryDialogManager::QueryDialogManager ( char   *name ) 
33                    :DialogManager ( name )
34                    
35 {
36     // Empty
37 }
38
39 Widget QueryDialogManager::createDialog ( Widget parent )
40 {
41
42     Widget dialog = XmCreateQuestionDialog ( parent, _name, NULL, 0);
43     
44     XtVaSetValues ( dialog,
45                    XmNdialogStyle, XmDIALOG_FULL_APPLICATION_MODAL,
46                    NULL );
47     
48     return dialog;
49
50 }
51 #endif /* DEAD_WOOD */