1 /*******************************************************************************
5 ** static char sccsid[] = "@(#)dssw.h 1.18 94/11/07 Copyr 1991 Sun Microsystems, Inc.";
7 ** $XConsortium: dssw.h /main/4 1996/05/23 11:18:54 rswiston $
9 ** RESTRICTED CONFIDENTIAL INFORMATION:
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
19 ** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
21 *******************************************************************************/
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. *
38 #define START_STOP_LEN 6
41 /*******************************************************************************
43 ** DSSW enumerated types
45 *******************************************************************************/
51 /*******************************************************************************
55 *******************************************************************************/
57 char val[START_STOP_LEN];
65 char date_val[DATE_LEN];
69 Widget start_ampm_rc_mgr;
72 Widget *start_menu_widget_list;
73 int start_menu_widget_count;
78 Widget stop_ampm_rc_mgr;
81 Widget *stop_menu_widget_list;
82 int stop_menu_widget_count;
88 Widget what_scrollwindow;
89 char what_val[WHAT_LEN];
90 Boolean show_notime_selection;
91 Boolean show_allday_selection;
94 /* form-to-appt flags */
95 #define DSSW_NEXT_DAY 1
97 /*******************************************************************************
99 ** DSSW external function declarations
101 *******************************************************************************/
102 extern void build_dssw P((DSSW*, Calendar*, Widget, Boolean, Boolean));
103 extern Boolean dssw_appt_to_form P((DSSW*, CSA_entry_handle));
104 extern Boolean dssw_attrs_to_form P((DSSW*, Dtcm_appointment*));
105 extern Boolean dssw_form_to_appt P((DSSW*, Dtcm_appointment*, char*,
107 extern Boolean dssw_form_flags_to_appt P((DSSW*, Dtcm_appointment*, char*,
109 extern Boolean dssw_form_to_todo P((DSSW*, Dtcm_appointment*, char*,
111 extern void load_dssw_times P((DSSW*, Tick, Tick, Boolean));
112 extern void get_dssw_times P((DSSW*));
113 extern void get_dssw_vals P((DSSW*, Tick));
114 extern void set_dssw_defaults P((DSSW*, Tick, Boolean));
115 extern void set_dssw_times P((DSSW*));
116 extern void set_dssw_vals P((DSSW*, Tick));
117 extern void set_dssw_menus P((DSSW*, Props *));