Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtcm / dtcm / find.h
1 /*******************************************************************************
2 **
3 **  find.h
4 **
5 **  static char sccsid[] = "@(#)find.h 1.8 94/11/07 Copyr 1991 Sun Microsystems, Inc.";
6 **
7 **  $XConsortium: find.h /main/3 1995/11/03 10:26:18 rswiston $
8 **
9 **  RESTRICTED CONFIDENTIAL INFORMATION:
10 **
11 **  The information in this document is subject to special
12 **  restrictions in a confidential disclosure agreement between
13 **  HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
14 **  document outside HP, IBM, Sun, USL, SCO, or Univel without
15 **  Sun's specific written approval.  This document and all copies
16 **  and derivative works thereof must be returned or destroyed at
17 **  Sun's request.
18 **
19 **  Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
20 **
21 *******************************************************************************/
22
23 /*                                                                      *
24  * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
25  * (c) Copyright 1993, 1994 International Business Machines Corp.       *
26  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
27  * (c) Copyright 1993, 1994 Novell, Inc.                                *
28  */
29
30 #ifndef _FIND_H
31 #define _FIND_H
32
33 #include "ansi_c.h"
34
35 typedef struct tick_list {
36         Tick tick;
37         struct tick_list *next;
38 } Tick_list;
39
40 typedef enum {search_all, search_range} Searchset;
41
42 typedef struct {
43         Widget                  frame;
44         Widget                  form;
45         Widget                  apptstr_label;
46         Widget                  apptstr;
47         Widget                  search_rc_mgr;
48         Widget                  search_all;
49         Widget                  search_range;
50         Widget                  search_from;
51         Widget                  search_tolabel;
52         Widget                  search_to;
53         Widget                  find_button;
54         Widget                  help_button;
55         Widget                  date_label;
56         Widget                  time_label;
57         Widget                  what_label;
58         Widget                  find_list;
59         Widget                  find_list_sw;
60         Widget                  show_button;
61         Widget                  cancel_button;
62         Widget                  find_message;
63         Tick_list               *ticks;
64         Searchset               search_set;
65         Tick                    search_from_date;
66         Tick                    search_to_date;
67 }Find;
68
69 extern caddr_t  make_find       P((Calendar*));
70 static Tick f_get_searchdate    P((Widget, Props*));
71
72 #endif