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