1 /*******************************************************************************
5 ** static char sccsid[] = "@(#)rfp.h 1.20 95/02/10 Copyr 1991 Sun Microsystems, Inc.";
7 ** $XConsortium: rfp.h /main/4 1996/05/23 11:17:56 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. *
40 /*******************************************************************************
42 ** Structure for repeat, for scope, and privacy values
44 *******************************************************************************/
50 Widget frequency_label;
54 CSA_sint32 privacy_val;
56 Widget repeat_form_mgr;
59 Widget repeat_popup_frame;
60 Widget repeat_popup_menu;
61 Widget repeat_popup_text;
62 Widget repeat_apply_button;
63 Widget repeat_cancel_button;
65 CSA_sint32 repeat_type;
66 char *recurrence_rule;
70 /* Monthly-by-weekday flags */
71 #define RFP_MBW_LAST 1
74 /*******************************************************************************
76 ** RFP (repeat, for, privacy) external function declarations
78 *******************************************************************************/
79 extern void build_rfp P((RFP*, Calendar*, Widget));
80 extern void get_rfp_privacy_val P((RFP*));
81 extern void get_rfp_repeat_val P((RFP*, time_t));
82 extern void get_rfp_vals P((RFP*, time_t));
83 extern Boolean rfp_attrs_to_form P((RFP*, Dtcm_appointment*));
84 extern Boolean rfp_appt_to_form P((RFP*, CSA_entry_handle));
85 extern Boolean rfp_form_to_appt P((RFP*, Dtcm_appointment*, char*));
86 extern Boolean rfp_form_flags_to_appt P((RFP*, Dtcm_appointment*, char*, int *));
87 extern void set_rfp_privacy_val P((RFP*));
88 extern void set_rfp_repeat_val P((RFP*));
89 extern void set_rfp_defaults P((RFP*));
90 extern void set_rfp_vals P((RFP*));
91 extern void rfp_set_repeat_values P((RFP*));
92 extern void rfp_init P((RFP*, Calendar *, Widget));