This commit is contained in:
Hivert Quentin
2024-03-18 15:25:07 +01:00
parent 9954c3607b
commit 6bbe8100b9
10 changed files with 188 additions and 18 deletions

23
API/SOGoAPI.m Normal file
View File

@@ -0,0 +1,23 @@
/*
Copyright (C) todo...
*/
#import <SOGoAPI.h>
@implementation SOGoAPI
- (NSDictionary *) sogoVersionAction {
NSDictionary* result;
result = [[NSDictionary alloc] initWithObjectsAndKeys:
@"major", SOGO_MAJOR_VERSION,
@"minor", SOGO_MINOR_VERSION,
@"patch", SOGO_PATCH_VERSION,
nil];
[result autorelease];
return result;
}
@end /* SOGoAPI */