More rename

This commit is contained in:
Ludovic Marcotte
2014-05-13 18:03:37 -04:00
parent 41e6fb89d3
commit 2922f15ca7
4 changed files with 8 additions and 8 deletions

View File

@@ -47,7 +47,7 @@
- (NSArray *) toOneRelationshipKeys;
- (NSArray *) toManyRelationshipKeys;
- (NSArray *) childKeysOfType: (MAPIDBObjectType) type
- (NSArray *) childKeysOfType: (SOGoCacheObjectType) type
includeDeleted: (BOOL) includeDeleted
matchingQualifier: (EOQualifier *) qualifier
andSortOrderings: (NSArray *) sortOrderings;

View File

@@ -134,7 +134,7 @@ Class SOGoMAPIDBObjectK = Nil;
// return [SOGoMAPIDBMessage objectWithName: filename inContainer: self];
// }
- (NSArray *) childKeysOfType: (MAPIDBObjectType) type
- (NSArray *) childKeysOfType: (SOGoCacheObjectType) type
includeDeleted: (BOOL) includeDeleted
matchingQualifier: (EOQualifier *) qualifier
andSortOrderings: (NSArray *) sortOrderings

View File

@@ -38,14 +38,14 @@ typedef enum {
MAPIMessageCacheObject = 2,
MAPIFAICacheObject = 3,
MAPIInternalCacheObject = 99 /* object = property list */
} MAPIDBObjectType;
} SOGoCacheObjectType;
@interface SOGoMAPIDBObject : SOGoMAPIObject
{
NSURL *tableUrl;
BOOL initialized; /* safe guard */
MAPIDBObjectType objectType;
SOGoCacheObjectType objectType;
NSInteger version;
BOOL deleted;
}
@@ -67,8 +67,8 @@ typedef enum {
- (NSDictionary *) lookupRecord: (NSString *) path
newerThanVersion: (NSInteger) startVersion;
- (void) setObjectType: (MAPIDBObjectType) newObjectType;
- (MAPIDBObjectType) objectType; /* message, fai, folder */
- (void) setObjectType: (SOGoCacheObjectType) newObjectType;
- (SOGoCacheObjectType) objectType; /* message, fai, folder */
/* automatically set from actions */
- (BOOL) deleted;

View File

@@ -188,12 +188,12 @@ static EOAttribute *textColumn = nil;
return path;
}
- (void) setObjectType: (MAPIDBObjectType) newObjectType
- (void) setObjectType: (SOGoCacheObjectType) newObjectType
{
objectType = newObjectType;
}
- (MAPIDBObjectType) objectType /* message, fai, folder */
- (SOGoCacheObjectType) objectType /* message, fai, folder */
{
return objectType;
}