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 librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /*******************************************************************************
27 ** static char sccsid[] = "@(#)rfp.h 1.20 95/02/10 Copyr 1991 Sun Microsystems, Inc.";
29 ** $XConsortium: rfp.h /main/4 1996/05/23 11:17:56 rswiston $
31 ** RESTRICTED CONFIDENTIAL INFORMATION:
33 ** The information in this document is subject to special
34 ** restrictions in a confidential disclosure agreement between
35 ** HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
36 ** document outside HP, IBM, Sun, USL, SCO, or Univel without
37 ** Sun's specific written approval. This document and all copies
38 ** and derivative works thereof must be returned or destroyed at
41 ** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
43 *******************************************************************************/
46 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
47 * (c) Copyright 1993, 1994 International Business Machines Corp. *
48 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
49 * (c) Copyright 1993, 1994 Novell, Inc. *
62 /*******************************************************************************
64 ** Structure for repeat, for scope, and privacy values
66 *******************************************************************************/
72 Widget frequency_label;
76 CSA_sint32 privacy_val;
78 Widget repeat_form_mgr;
81 Widget repeat_popup_frame;
82 Widget repeat_popup_menu;
83 Widget repeat_popup_text;
84 Widget repeat_apply_button;
85 Widget repeat_cancel_button;
87 CSA_sint32 repeat_type;
88 char *recurrence_rule;
92 /* Monthly-by-weekday flags */
93 #define RFP_MBW_LAST 1
96 /*******************************************************************************
98 ** RFP (repeat, for, privacy) external function declarations
100 *******************************************************************************/
101 extern void build_rfp P((RFP*, Calendar*, Widget));
102 extern void get_rfp_privacy_val P((RFP*));
103 extern void get_rfp_repeat_val P((RFP*, time_t));
104 extern void get_rfp_vals P((RFP*, time_t));
105 extern Boolean rfp_attrs_to_form P((RFP*, Dtcm_appointment*));
106 extern Boolean rfp_appt_to_form P((RFP*, CSA_entry_handle));
107 extern Boolean rfp_form_to_appt P((RFP*, Dtcm_appointment*, char*));
108 extern Boolean rfp_form_flags_to_appt P((RFP*, Dtcm_appointment*, char*, int *));
109 extern void set_rfp_privacy_val P((RFP*));
110 extern void set_rfp_repeat_val P((RFP*));
111 extern void set_rfp_defaults P((RFP*));
112 extern void set_rfp_vals P((RFP*));
113 extern void rfp_set_repeat_values P((RFP*));
114 extern void rfp_init P((RFP*, Calendar *, Widget));