Fix typo in license headers
[oweals/cde.git] / cde / programs / dtmail / include / DtMail / ListUiItem.hh
1 /* $XConsortium: ListUiItem.hh /main/4 1996/04/21 19:45:18 drk $ */
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 #include <stdlib.h>
20 #include <X11/Intrinsic.h>
21 #include "PropUi.hh"
22
23 #ifndef _LISTUIITEM_HH
24 #define _LISTUIITEM_HH
25
26 // CLASS ListUiItem
27 // derived class for prop sheet glue items for textfield
28 ///////////////////////////////////////////////////////////
29 class ListUiItem : public PropUiItem {
30   
31 public:
32   ListUiItem(Widget w, int source, char *search_key, DtVirtArray<char *> *alias_list);
33   virtual ~ListUiItem(){;}; // we don't alloc any memory
34 #ifdef DEAD_WOOD
35   virtual int getType(){ return _LIST_ITEM; };
36   virtual int getSource(){ return data_source; };
37 #endif /* DEAD_WOOD */
38   virtual void writeFromUiToSource();
39   virtual void writeFromSourceToUi();
40   virtual void AddDefaults();
41
42   virtual void handleAddButtonPress(){;};
43   virtual void handleChangeButtonPress(){;};
44   virtual void handleDeleteButtonPress(){;};
45
46 private:
47 #ifdef DEAD_WOOD
48   int data_source;
49 #endif /* DEAD_WOOD */
50 };
51
52 #endif