Fix typo in license headers
[oweals/cde.git] / cde / programs / dtmail / include / DtMail / MoveMenuListUiItem.hh
1 /* $XConsortium: MoveMenuListUiItem.hh /main/3 1996/04/21 19:45:22 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 _MOVEMENULISTUIITEM_HH
24 #define _MOVEMENULISTUIITEM_HH
25
26 void handleMMSelection(Widget, XtPointer, XtPointer);
27
28 // CLASS MoveMenuListUiItem
29 // derived class for prop sheet glue items for textfield
30 ///////////////////////////////////////////////////////////
31 class MoveMenuListUiItem : public ListUiItem {
32   
33 public:
34   MoveMenuListUiItem(Widget w, int source, char *search_key, Widget w_list);
35   virtual ~MoveMenuListUiItem(){;}; // we don't alloc any memory
36   virtual void writeFromUiToSource();
37   virtual void writeFromSourceToUi();
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