Bumped copyright dates for 2013
[barry.git] / src / r_recur_base-int.h
blob5af26f8f8257a5832c7addfd91750eda1b0c687d
1 ///
2 /// \file r_recur_base-int.h
3 /// Internal header, with macro for defining FieldHandles in
4 /// the RecurBase class.
5 ///
7 /*
8 Copyright (C) 2005-2013, 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)"));
46 #endif