2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: DtFindSet.h /main/3 1995/11/06 09:35:17 rswiston $ */
25 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
26 * (c) Copyright 1993, 1994 International Business Machines Corp. *
27 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
28 * (c) Copyright 1993, 1994 Novell, Inc. *
45 typedef void (*CallerCallback)(BaseUI *caller, char *iconFile);
52 } FileNamesStruct, *FileNames, **FileNamesList;
54 class DtFindSet : public Dialog {
56 friend void OkCB(void *data);
57 friend void ApplyCB(void *data);
58 friend void CancelCB(void *data);
59 friend void ResetCB(void *data);
60 friend void HelpCB(void *data);
61 friend void ComboBoxCB(ComboBoxObj *, char *, int);
62 friend void InitComboBox(BaseUI *, void *data);
64 static void OkCB(void *data);
65 static void ApplyCB(void *data);
66 static void CancelCB(void *data);
67 static void ResetCB(void *data);
68 static void HelpCB(void *data);
69 static void ComboBoxCB(ComboBoxObj *, char *, int);
70 static void InitComboBox(BaseUI *, void *data);
75 HelpSystem *helpSystem;
88 CallerCallback callback;
89 FileNamesList filenames;
90 ComboBoxObj *comboBox;
94 boolean _has_been_posted;
97 boolean SetVisiblity(boolean);
98 boolean HandleHelpRequest();
102 DtFindSet(DtMainW *, char *name, CallerCallback callback);
104 void Caller(BaseUI *obj) { caller = obj; }
110 #endif // DTFINDSET_H