confusing Protocol error
confusing Protocol error
- Subject: confusing Protocol error
- From: "Marcus S. Zarra" <email@hidden>
- Date: Fri, 13 Jan 2006 11:02:13 -0700
Good morning list!
I am getting an error in my protocol which I was not getting a couple
of days ago.
the error is nice and vague with:
error: parse error before 'AT_NAME' token
Which means the error is before the @, got that part. The header
that is throwing this error is:
#import <Cocoa/Cocoa.h>
#import "FirstDataRequest.h"
@interface FD_SystemCheckRequest : NSObject <FirstDataRequest>
{
}
+ (id <FirstDataRequest>)systemCheck;
@end
Which points to this protocol header:
@protocol FirstDataResponse;
@protocol FirstDataRequest
- (NSData *)constructRequest:(NSString *)storeID withStoreKey:
(NSString *)storeKey;
- (id <FirstDataResponse>)constructResponseWithError:(NSError *)
error;
- (id <FirstDataResponse>)constructResponseWithData:(NSData *)data;
@end
which points to this final protocol header:
@protocol FirstDataRequest;
@protocol FirstDataResponse
@end
which as you can see has nothing in it yet.
The error is showing to be on the @interface line of
FD_SystemCheckRequest.
Is there something brain dead I am doing wrong here that I am just
too close to see?
Thanks for any suggestions.
Marcus
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden