r_recur_base-int.h

Go to the documentation of this file.
00001 ///
00002 /// \file       r_recur_base-int.h
00003 ///             Internal header, with macro for defining FieldHandles in
00004 ///             the RecurBase class.
00005 ///
00006 
00007 /*
00008     Copyright (C) 2005-2012, Net Direct Inc. (http://www.netdirect.ca/)
00009 
00010     This program is free software; you can redistribute it and/or modify
00011     it under the terms of the GNU General Public License as published by
00012     the Free Software Foundation; either version 2 of the License, or
00013     (at your option) any later version.
00014 
00015     This program is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00018 
00019     See the GNU General Public License in the COPYING file at the
00020     root directory of this project for more details.
00021 */
00022 
00023 #ifndef __BARRY_RECORD_RECUR_BASE_INT_H__
00024 #define __BARRY_RECORD_RECUR_BASE_INT_H__
00025 
00026 #define RECUR_BASE_FIELD_HANDLES \
00027         FHP(Recurring, "Recurring Event Flag"); \
00028         \
00029         FHE(rbfh_rct, RecurringCodeType, RecurringType, "Recurrence Type"); \
00030         FHE_CONST(rbfh_rct, Day, "Daily"); \
00031         FHE_CONST(rbfh_rct, MonthByDate, "Monthly, by Number"); \
00032         FHE_CONST(rbfh_rct, MonthByDay, "Monthly, by Weekday"); \
00033         FHE_CONST(rbfh_rct, YearByDate, "Yearly, by Date (eg. Every March 5)"); \
00034         FHE_CONST(rbfh_rct, YearByDay, "Yearly, by Day (eg. Every 3rd Wed of Jan)"); \
00035         FHE_CONST(rbfh_rct, Week, "Weekly"); \
00036         \
00037         FHP(Interval, "Recurring Interval"); \
00038         FHP(RecurringEndTime, "Recurring End Time"); \
00039         FHP(Perpetual, "Recur Perpetually"); \
00040         FHP(DayOfWeek, "Day Of Week (0-6)"); \
00041         FHP(WeekOfMonth, "Week Of Month (1-5)"); \
00042         FHP(DayOfMonth, "Day Of Month (1-31)"); \
00043         FHP(MonthOfYear, "Month Of Year (1-12)"); \
00044         FHP(WeekDays, "Weekdays bitmask (bit 0 for Sunday)");
00045 
00046 #endif
00047