2006-08-24 20:56:24 +02:00
|
|
|
/* UIxCalDayTable.h - this file is part of $PROJECT_NAME_HERE$
|
|
|
|
*
|
2008-09-27 03:13:41 +02:00
|
|
|
* Copyright (C) 2006 Inverse inc.
|
2006-08-24 20:56:24 +02:00
|
|
|
*
|
|
|
|
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
|
|
|
*
|
|
|
|
* This file is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This file is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; see the file COPYING. If not, write to
|
|
|
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef UIXCALDAYTABLE_H
|
|
|
|
#define UIXCALDAYTABLE_H
|
|
|
|
|
|
|
|
#import "UIxCalView.h"
|
|
|
|
|
|
|
|
@class NSArray;
|
|
|
|
@class NSCalendarDay;
|
2006-11-15 01:06:21 +01:00
|
|
|
@class NSDictionary;
|
2008-07-18 21:25:26 +02:00
|
|
|
@class NSNumber;
|
2006-08-24 20:56:24 +02:00
|
|
|
@class NSString;
|
2008-07-18 21:25:26 +02:00
|
|
|
|
2006-08-24 20:56:24 +02:00
|
|
|
@class SOGoDateFormatter;
|
|
|
|
|
|
|
|
@interface UIxCalDayTable : UIxCalView
|
|
|
|
{
|
2007-06-19 20:08:16 +02:00
|
|
|
SOGoDateFormatter *dateFormatter;
|
2014-06-20 19:16:55 +02:00
|
|
|
NSArray *weekDays;
|
|
|
|
NSString *currentView, *timeFormat, *currentTableHour;
|
|
|
|
NSCalendarDate *startDate, *currentTableDay;
|
2015-10-31 07:10:03 +01:00
|
|
|
NSMutableArray *daysToDisplay, *calendarsToDisplay, *hoursToDisplay;
|
|
|
|
NSMutableDictionary *currentCalendar;
|
2014-06-20 19:16:55 +02:00
|
|
|
unsigned int numberOfDays;
|
2016-05-06 20:14:45 +02:00
|
|
|
unsigned int *daysNumbersToDisplay;
|
2006-08-24 20:56:24 +02:00
|
|
|
}
|
|
|
|
|
2008-07-18 21:25:26 +02:00
|
|
|
- (void) setNumberOfDays: (NSNumber *) aNumber;
|
|
|
|
- (NSNumber *) numberOfDays;
|
2014-06-20 19:16:55 +02:00
|
|
|
- (NSString *) currentView;
|
2006-08-24 20:56:24 +02:00
|
|
|
|
|
|
|
- (void) setStartDate: (NSCalendarDate *) aStartDate;
|
|
|
|
- (NSCalendarDate *) startDate;
|
|
|
|
- (NSCalendarDate *) endDate;
|
|
|
|
|
|
|
|
- (NSArray *) daysToDisplay;
|
2014-06-20 19:16:55 +02:00
|
|
|
- (NSArray *) calendarsToDisplay;
|
2006-08-24 20:56:24 +02:00
|
|
|
- (void) setCurrentTableDay: (NSCalendarDate *) aTableDay;
|
|
|
|
- (NSCalendarDate *) currentTableDay;
|
2015-10-31 07:10:03 +01:00
|
|
|
- (NSMutableDictionary *) currentCalendar;
|
2006-08-24 20:56:24 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* UIXCALDAYTABLE_H */
|