/FSKit/Source/iPhone/Common/FSKServiceBase.h
C++ Header | 37 lines | 16 code | 6 blank | 15 comment | 0 complexity | 640a5e9f1ebe73a8bde83e0774fa2654 MD5 | raw file
Possible License(s): BSD-3-Clause
1// 2// FamilySearchService.h 3// FSKit 4// 5// Created by Logan Allred on 9/16/07. 6// Copyright 2008 Logan Allred. All rights reserved. 7// 8 9#import <Foundation/Foundation.h> 10#import "FSKConnection.h" 11#import "enunciate_common.h" 12 13@interface FSKServiceBase : NSObject { 14 FSKConnection *connection; 15 id _delegate; 16 17 NSString *moduleName; 18 NSString *versionString; 19 NSDictionary *properties; 20} 21 22- (id)initWithConnection:(FSKConnection *)familySearchConnection delegate:(id)theDelegate; 23 24-(void) makeFamilySearchRequest:(NSString *)endpoint idList:(NSSet *)idList parameters:(NSDictionary *)parameterDict; 25-(NSDictionary *)properties; 26 27// delegate methods 28-(void) requestFinished:(id <EnunciateXML>)response; 29-(void) requestFailed:(NSError *)error; 30@end 31/* Is this the right way to go? 32@interface NSObject (FSKServiceDelegate) 33// delegate methods 34- (void)service:(FSKServiceBase *)service didReturnResponse:(FSKResponse *)response; 35- (void)service:(FSKServiceBase *)service didFailWithError:(FSKError *)error; 36@end 37*/