aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.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/MCPAttribute.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/MCPAttribute.h')
-rw-r--r--Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h b/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h
index 834c8e18..469d0808 100644
--- a/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h
+++ b/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.h
@@ -42,7 +42,7 @@
NSString *internalType; // Name of the class, or type used for the class definition
NSString *externalName; // Name of the corresponding column in the DB
NSString *externalType; // Type used to store the attribute (in the DB)
- unsigned int width; // Width (for storing by the DB)
+ NSUInteger width; // Width (for storing by the DB)
BOOL allowsNull; // Attribute can be null
BOOL autoGenerated; // Attribute is auto generated by the DB
BOOL isPartOfKey; // Attribute is part of theprimary key of the class description
@@ -69,15 +69,15 @@
- (void) setInternalType:(NSString *) iInternalType;
- (void) setExternalType:(NSString *) iExternalType;
- (void) setExternalName:(NSString *) iExternalName;
-- (void) setWidth:(unsigned int) iWidth;
+- (void) setWidth:(NSUInteger) iWidth;
- (void) setAllowsNull:(BOOL) iAllowsNull;
- (void) setAutoGenerated:(BOOL) iAutoGenerated;
- (void) setIsPartOfKey:(BOOL) iIsPartOfKey;
- (void) setIsPartOfIdentity:(BOOL) iIsPartOfIdentity;
- (void) setHasAccessor:(BOOL) iHasAccessor;
- (void) setDefaultValue:(id) iDefaultValue;
-- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(unsigned int) index;
-- (void) removeObjectFromJoinsAtIndex:(unsigned int) index;
+- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(NSUInteger) index;
+- (void) removeObjectFromJoinsAtIndex:(NSUInteger) index;
//- (void) addRelation:(MCPRelation *) iRelation;
//- (void) removeRelation:(MCPRelation *) iRelation;
@@ -89,16 +89,16 @@
- (NSString *) internalType;
- (NSString *) externalName;
- (NSString *) externalType;
-- (unsigned int) width;
+- (NSUInteger) width;
- (BOOL) allowsNull;
- (BOOL) autoGenerated;
- (BOOL) isPartOfKey;
- (BOOL) isPartOfIdentity;
- (BOOL) hasAccessor;
- (id) defaultValue;
-- (unsigned int) countOfJoins;
-- (MCPJoin *) objectInJoinsAtIndex:(unsigned int) index;
-- (unsigned int) indexOfJoinIdenticalTo:(id) iJoin;
+- (NSUInteger) countOfJoins;
+- (MCPJoin *) objectInJoinsAtIndex:(NSUInteger) index;
+- (NSUInteger) indexOfJoinIdenticalTo:(id) iJoin;
#pragma mark Some general methods:
- (BOOL) isEqual:(id) iObject;