/FSKit/Source/iPhone/Common/FSKServiceBase.h
http://fskit.googlecode.com/ · C++ Header · 37 lines · 16 code · 6 blank · 15 comment · 0 complexity · 640a5e9f1ebe73a8bde83e0774fa2654 MD5 · raw file
- //
- // FamilySearchService.h
- // FSKit
- //
- // Created by Logan Allred on 9/16/07.
- // Copyright 2008 Logan Allred. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "FSKConnection.h"
- #import "enunciate_common.h"
- @interface FSKServiceBase : NSObject {
- FSKConnection *connection;
- id _delegate;
-
- NSString *moduleName;
- NSString *versionString;
- NSDictionary *properties;
- }
- - (id)initWithConnection:(FSKConnection *)familySearchConnection delegate:(id)theDelegate;
- -(void) makeFamilySearchRequest:(NSString *)endpoint idList:(NSSet *)idList parameters:(NSDictionary *)parameterDict;
- -(NSDictionary *)properties;
- // delegate methods
- -(void) requestFinished:(id <EnunciateXML>)response;
- -(void) requestFailed:(NSError *)error;
- @end
- /* Is this the right way to go?
- @interface NSObject (FSKServiceDelegate)
- // delegate methods
- - (void)service:(FSKServiceBase *)service didReturnResponse:(FSKResponse *)response;
- - (void)service:(FSKServiceBase *)service didFailWithError:(FSKError *)error;
- @end
- */