diff --git a/SoObjects/SOGo/SOGoSQLUserProfile.h b/SoObjects/SOGo/SOGoSQLUserProfile.h index c2ec5fa43..0d9e8254e 100644 --- a/SoObjects/SOGo/SOGoSQLUserProfile.h +++ b/SoObjects/SOGo/SOGoSQLUserProfile.h @@ -31,8 +31,6 @@ NSString *fieldName; } -- (unsigned long long)getCDefaultsSize; - @end #endif /* SOGOSQLUSERPROFILE_H */ diff --git a/SoObjects/SOGo/SOGoUserProfile.h b/SoObjects/SOGo/SOGoUserProfile.h index 3cd1ac9d8..00986bd3a 100644 --- a/SoObjects/SOGo/SOGoUserProfile.h +++ b/SoObjects/SOGo/SOGoUserProfile.h @@ -64,6 +64,8 @@ typedef enum _SOGoUserProfileType { - (void) setUID: (NSString *) newUID; - (NSString *) uid; +- (unsigned long long)getCDefaultsSize; + /* value access */ - (void) setValues: (NSDictionary *) theValues; - (NSDictionary *) values; diff --git a/SoObjects/SOGo/SOGoUserProfile.m b/SoObjects/SOGo/SOGoUserProfile.m index 8233700c7..a67477222 100644 --- a/SoObjects/SOGo/SOGoUserProfile.m +++ b/SoObjects/SOGo/SOGoUserProfile.m @@ -101,6 +101,7 @@ return uid; } + /* subclass methods */ - (BOOL) storeJSONProfileInDB: (NSString *) jsonRepresentation @@ -117,6 +118,15 @@ return nil; } +- (unsigned long long)getCDefaultsSize +{ + unsigned long long ret = 0; + + [self subclassResponsibility: _cmd]; + + return ret; +} + /* operation */ - (NSString *) _convertPListToJSON: (NSString *) plistValue