/usr/include/GNUstep/Frameworks/RSSKit.framework/Versions/0d/RSSArticleCreationListener.h is in librsskit-dev 0.4-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /* -*-objc-*-
*
* GNUstep RSS Kit
* Copyright (C) 2006 Guenther Noack
*
* This library 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, in version 2.1
* of the License
*
* This library 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 this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#import "RSSFeed.h"
/*
* The RSSArticleCreationListener is a object which collects things
* to put into a new article and puts the articles together.
* It does what otherwise every individual RSS-style parser had to do
* for itself.
*/
@interface RSSArticleComposer : NSObject
{
//RSSFeed* currentFeed;
id delegate;
NSString* headline;
NSString* url;
NSString* summary;
NSString* content;
NSDate* date;
NSMutableArray* links;
//NSMutableArray* currentArticleList;
}
// Initializers & Deallocation
//-(id) initWithFeed: (RSSFeed*) aFeed;
-(id) init;
-(void) dealloc;
// delegate accessors
-(void) setDelegate: (id)aDelegate;
-(id) delegate;
// Basic control
-(void) nextArticle;
-(void) startArticle;
-(void) commitArticle;
-(void) finished;
//-(void) setFeed: (RSSFeed*) aFeed;
// Collecting of article content
-(void) setHeadline: (NSString*) aHeadline;
-(void) addLinkWithURL: (NSString*) anURL;
-(void) addLinkWithURL: (NSString*) anURL
andRel: (NSString*) aRelation;
-(void) addLinkWithURL: (NSString*) anURL
andRel: (NSString*) aRelation
andType: (NSString*) aType;
-(void) setContent: (NSString*) aContent;
-(void) setSummary: (NSString*) aSummary;
-(void) setDate: (NSDate*) aDate;
// setDate:, but also converts date.
-(void) setDateFromString: (NSString*) str;
@end
|