7c25b53fdf
This was done with a brute-force approach, ensuring no additional warnings from GCC 4.9 under x86_64.
53 lines
1.4 KiB
Objective-C
53 lines
1.4 KiB
Objective-C
/*
|
|
Copyright (C) 2000-2005 SKYRIX Software AG
|
|
|
|
This file is part of SOPE.
|
|
|
|
SOPE is free software; you can redistribute it and/or modify it under
|
|
the terms of the GNU Lesser General Public License as published by the
|
|
Free Software Foundation; either version 2, or (at your option) any
|
|
later version.
|
|
|
|
SOPE 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 Lesser General Public
|
|
License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with SOPE; see the file COPYING. If not, write to the
|
|
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|
02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __NGiCal_iCalDataSource_H__
|
|
#define __NGiCal_iCalDataSource_H__
|
|
|
|
|
|
@class NSString, NSURL;
|
|
@class EOFetchSpecification;
|
|
|
|
@interface iCalDataSource : EODataSource
|
|
{
|
|
EOFetchSpecification *fetchSpecification;
|
|
NSURL *url;
|
|
NSString *entityName;
|
|
}
|
|
|
|
- (id)initWithURL:(NSURL *)_url entityName:(NSString *)_ename;
|
|
- (id)initWithPath:(NSString *)_file entityName:(NSString *)_ename;
|
|
- (id)initWithURL:(NSURL *)_url;
|
|
- (id)initWithPath:(NSString *)_file;
|
|
|
|
/* accessors */
|
|
|
|
- (void)setFetchSpecification:(EOFetchSpecification *)_fspec;
|
|
- (EOFetchSpecification *)fetchSpecification;
|
|
|
|
/* fetching */
|
|
|
|
- (NSArray *)fetchObjects;
|
|
|
|
@end
|
|
|
|
#endif /* __NGiCal_iCalDataSource_H__ */
|