-fpermissive to allow GCC to compile old C++
[oweals/cde.git] / cde / programs / dtmail / dtmail / DtMailWDM.hh
1 /*
2  *+SNOTICE
3  *
4  *      $XConsortium: DtMailWDM.hh /main/4 1996/04/21 19:41:48 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 //////////////////////////////////////////////////////////
22 // DtMailWDM.hh
23 //////////////////////////////////////////////////////////
24 #ifndef DTMAILWDM_HH
25 #define DTMAILWDM_HH
26
27 #include "WorkingDialogManager.h"
28
29 class DtMailWDM : public WorkingDialogManager {
30     
31   protected:
32     
33     char *_text;
34     
35   public:
36     
37     DtMailWDM ( char * );
38     
39     virtual Widget post (char *,
40                          char *, 
41                          Widget ,
42                          void *clientData      = NULL,
43                          DialogCallback ok     = NULL,
44                          DialogCallback cancel = NULL,
45                          DialogCallback help   = NULL );
46
47     virtual Widget post (char *,
48                          char *, 
49                          void *clientData      = NULL,
50                          DialogCallback ok     = NULL,
51                          DialogCallback cancel = NULL,
52                          DialogCallback help   = NULL );
53     
54     void updateAnimation();
55     void updateDialog(char *msg);
56 };
57
58 extern DtMailWDM *theDtMailWDM;
59
60 #endif