Fix typo in license headers
[oweals/cde.git] / cde / programs / dtmail / include / DtMail / CheckBoxUiItem.hh
1 /* $TOG: CheckBoxUiItem.hh /main/5 1997/11/07 15:44:05 mgreess $ */
2 /*
3  *+SNOTICE
4  *
5  *      RESTRICTED CONFIDENTIAL INFORMATION:
6  *      
7  *      The information in this document is subject to special
8  *      restrictions in a confidential disclosure agreement bertween
9  *      HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
10  *      document outside HP, IBM, Sun, USL, SCO, or Univel wihtout
11  *      Sun's specific written approval.  This documment and all copies
12  *      and derivative works thereof must be returned or destroyed at
13  *      Sun's request.
14  *
15  *      Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
16  *
17  *+ENOTICE
18  */
19
20 #ifndef _CHECKBOXUIITEM_HH
21 #define _CHECKBOXUIITEM_HH
22
23 #include <stdlib.h>
24 #include <X11/Intrinsic.h>
25
26 #include <DtMail/PropUi.hh>
27
28 // CLASS CheckBoxUiItem
29 // derived class for prop sheet glue items for CheckBox
30 ///////////////////////////////////////////////////////////
31 class CheckBoxUiItem : public PropUiItem {
32   
33 public:
34   CheckBoxUiItem(Widget w, int source, char *search_key);
35   virtual ~CheckBoxUiItem(){;}; // we don't alloc any memory
36 #ifdef DEAD_WOOD
37   virtual int getType(){ return _CHECKBOX_ITEM; };
38   virtual int getSource(){ return data_source; };
39 #endif /* DEAD_WOOD */
40   virtual void writeFromUiToSource();
41   virtual void writeFromSourceToUi();
42
43 private:
44 #ifdef DEAD_WOOD
45   int data_source;
46 #endif /* DEAD_WOOD */
47 };
48
49 #endif