diff options
author | stuconnolly <stuart02@gmail.com> | 2009-08-26 21:18:28 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-08-26 21:18:28 +0000 |
commit | 63c47d26eeed7e2602e0925cae8e7386963ce695 (patch) | |
tree | 99529d48c972af8348f5478930a4116e0cc608b0 /Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h | |
parent | 082332ed69b7cfb2d11d1d45b848cb1fc393b3ca (diff) | |
download | sequelpro-63c47d26eeed7e2602e0925cae8e7386963ce695.tar.gz sequelpro-63c47d26eeed7e2602e0925cae8e7386963ce695.tar.bz2 sequelpro-63c47d26eeed7e2602e0925cae8e7386963ce695.zip |
Make the MCPkit framework truly 64 bit compatible by using the appropriate data types.
Diffstat (limited to 'Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h')
-rw-r--r-- | Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h b/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h index 5a6ae51b..cff3cf17 100644 --- a/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h +++ b/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h @@ -59,29 +59,29 @@ - (void) encodeWithCoder:(NSCoder *) encoder; #pragma mark Making new attributes and relations -- (MCPAttribute *) addNewAttributeWithName:(NSString *) iName inPosition:(int) index; -- (MCPRelation *) addNewRelationTo:(MCPClassDescription *) iTo name:(NSString *) iName inPostion:(int) index; +- (MCPAttribute *) addNewAttributeWithName:(NSString *) iName inPosition:(NSInteger) index; +- (MCPRelation *) addNewRelationTo:(MCPClassDescription *) iTo name:(NSString *) iName inPostion:(NSInteger) index; #pragma mark Setters - (void) setName:(NSString *) iName; - (void) setExternalName:(NSString *) iExternalName; -- (void) insertObject:(MCPAttribute *) iAttribute inAttributesAtIndex:(unsigned int) index; -- (void) removeObjectFromAttributesAtIndex:(unsigned int) index; -- (void) insertObject:(MCPRelation *) iRelation inRelationsAtIndex:(unsigned int) index; -- (void) removeObjectFromRelationsAtIndex:(unsigned int) index; +- (void) insertObject:(MCPAttribute *) iAttribute inAttributesAtIndex:(NSUInteger) index; +- (void) removeObjectFromAttributesAtIndex:(NSUInteger) index; +- (void) insertObject:(MCPRelation *) iRelation inRelationsAtIndex:(NSUInteger) index; +- (void) removeObjectFromRelationsAtIndex:(NSUInteger) index; #pragma mark Getters - (MCPModel *) model; - (NSString *) name; - (NSString *) externalName; - (NSArray *) attributes; -- (unsigned int) countOfAttributes; -- (MCPAttribute *) objectInAttributesAtIndex:(unsigned int) index; -- (unsigned int) indexOfAttribute:(id) iAttribute; +- (NSUInteger) countOfAttributes; +- (MCPAttribute *) objectInAttributesAtIndex:(NSUInteger) index; +- (NSUInteger) indexOfAttribute:(id) iAttribute; - (NSArray *) relations; -- (unsigned int) countOfRelations; -- (MCPRelation *) objectInRelationsAtIndex:(unsigned int) index; -- (unsigned int) indexOfRelation:(id) iRelation; +- (NSUInteger) countOfRelations; +- (MCPRelation *) objectInRelationsAtIndex:(NSUInteger) index; +- (NSUInteger) indexOfRelation:(id) iRelation; - (Class) representedClass; #pragma mark Some general methods: |