oc-calendar: Implement categories to share the colour

See [MS-OXCICAL] Section 2.1.3.1.1.20.3 for details.

It requires https://github.com/openchange/openchange/pull/216 to retrieve
the value from MAPI client
This commit is contained in:
Enrique J. Hernández Blasco
2015-02-15 23:52:06 +01:00
committed by Jesús García Sáez
parent 68216a7456
commit 9b847a276c
2 changed files with 23 additions and 0 deletions
+6
View File
@@ -305,6 +305,12 @@
if (class)
[self setAccessClass: class];
/* Categories */
/* See [MS-OXCICAL] Section 2.1.3.1.1.20.3 */
value = [properties objectForKey: MAPIPropertyKey (PidNameKeywords)];
if (value)
[self setCategories: value];
/* show time as free/busy/tentative/out of office. Possible values are:
0x00000000 - olFree
0x00000001 - olTentative