aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-08-26 21:18:28 +0000
committerstuconnolly <stuart02@gmail.com>2009-08-26 21:18:28 +0000
commit63c47d26eeed7e2602e0925cae8e7386963ce695 (patch)
tree99529d48c972af8348f5478930a4116e0cc608b0 /Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription.h
parent082332ed69b7cfb2d11d1d45b848cb1fc393b3ca (diff)
downloadsequelpro-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.h24
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: