mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 08:18:52 +00:00
More rename
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user