fix getCDefaultsSize

This commit is contained in:
Hivert Quentin
2024-08-16 15:26:28 +02:00
parent 86446a059c
commit d8ac610057
3 changed files with 12 additions and 2 deletions
-2
View File
@@ -31,8 +31,6 @@
NSString *fieldName;
}
- (unsigned long long)getCDefaultsSize;
@end
#endif /* SOGOSQLUSERPROFILE_H */
+2
View File
@@ -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;
+10
View File
@@ -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