sogo/UI/Scheduler/NSArray+Scheduler.h
Francis Lachapelle 891687ace0 Monotone-Parent: 072d560619f22b78e92501eb17c779b5ce668cac
Monotone-Revision: c6bfd1926ff53d5a648a5ff92a03176498297cf8

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-12-06T17:29:32
Monotone-Branch: ca.inverse.sogo
2007-12-06 17:29:32 +00:00

40 lines
1.4 KiB
Objective-C

/* NSArray+Scheduler.m - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* 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 NSARRAY_SCHEDULER_H
#define NSARRAY_SCHEDULER_H
#import <Foundation/NSArray.h>
@interface NSArray (SOGoEventComparison)
- (NSComparisonResult) compareEventsStartDateAscending: (NSArray *) otherEvent;
- (NSComparisonResult) compareEventsEndDateAscending: (NSArray *) otherEvent;
- (NSComparisonResult) compareEventsTitleAscending: (NSArray *) otherEvent;
- (NSComparisonResult) compareEventsLocationAscending: (NSArray *) otherEvent;
- (NSComparisonResult) compareTasksAscending: (NSArray *) otherTask;
- (NSArray *) reversedArray;
@end
#endif /* NSARRAY_SCHEDULER_H */