2 /// \file r_recur_base-int.h
3 /// Internal header, with macro for defining FieldHandles in
4 /// the RecurBase class.
8 Copyright (C) 2005-2012, Net Direct Inc. (http://www.netdirect.ca/)
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 See the GNU General Public License in the COPYING file at the
20 root directory of this project for more details.
23 #ifndef __BARRY_RECORD_RECUR_BASE_INT_H__
24 #define __BARRY_RECORD_RECUR_BASE_INT_H__
26 #define RECUR_BASE_FIELD_HANDLES \
27 FHP(Recurring, "Recurring Event Flag"); \
29 FHE(rbfh_rct, RecurringCodeType, RecurringType, "Recurrence Type"); \
30 FHE_CONST(rbfh_rct, Day, "Daily"); \
31 FHE_CONST(rbfh_rct, MonthByDate, "Monthly, by Number"); \
32 FHE_CONST(rbfh_rct, MonthByDay, "Monthly, by Weekday"); \
33 FHE_CONST(rbfh_rct, YearByDate, "Yearly, by Date (eg. Every March 5)"); \
34 FHE_CONST(rbfh_rct, YearByDay, "Yearly, by Day (eg. Every 3rd Wed of Jan)"); \
35 FHE_CONST(rbfh_rct, Week, "Weekly"); \
37 FHP(Interval, "Recurring Interval"); \
38 FHP(RecurringEndTime, "Recurring End Time"); \
39 FHP(Perpetual, "Recur Perpetually"); \
40 FHP(DayOfWeek, "Day Of Week (0-6)"); \
41 FHP(WeekOfMonth, "Week Of Month (1-5)"); \
42 FHP(DayOfMonth, "Day Of Month (1-31)"); \
43 FHP(MonthOfYear, "Month Of Year (1-12)"); \
44 FHP(WeekDays, "Weekdays bitmask (bit 0 for Sunday)");