1 /* $XConsortium: IgnoreListUiItem.hh /main/3 1995/11/06 16:27:06 rswiston $ */
5 * RESTRICTED CONFIDENTIAL INFORMATION:
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
15 * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
20 #include <X11/Intrinsic.h>
22 #ifndef _IGNORELISTUIITEM_HH
23 #define _IGNORELISTUIITEM_HH
25 void handleSelection(Widget, XtPointer, XtPointer );
27 // CLASS IgnoreListUiItem
28 // derived class for prop sheet glue items for textfield
29 ///////////////////////////////////////////////////////////
30 class IgnoreListUiItem : public ListUiItem {
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; };
41 virtual void handleAddButtonPress();
42 virtual void handleChangeButtonPress();
43 virtual void handleDeleteButtonPress();
47 DtVirtArray<PropStringPair *> *list_items;
48 DtVirtArray<char *> *deleted_items;
49 Widget entry_field_widget;