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