aboutsummaryrefslogtreecommitdiff
path: root/src/ics.mli
diff options
context:
space:
mode:
authorAlban Gruin2021-09-16 22:11:59 +0200
committerAlban Gruin2021-09-19 12:36:21 +0200
commitcb2f075c326f40c27b4c6d9dde6fd51b78a43f9c (patch)
tree422e65ea254e8c663406b2cf4d776f31f23cf3da /src/ics.mli
parenta5e7ab75ed9ff253df73cf951140748ce41503c4 (diff)
course, ics: read, store, and dump groups in a course
In the future, we want to filter courses by its groups. To allow this, we must parse and store the groups from celcat. This adds this feature. We also dump them in the `COMMENT' field of the iCalendar files. Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'src/ics.mli')
-rw-r--r--src/ics.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ics.mli b/src/ics.mli
index a4cbbd6..ca09406 100644
--- a/src/ics.mli
+++ b/src/ics.mli
@@ -1,5 +1,5 @@
(*
- * Copyright (C) 2020 Alban Gruin
+ * Copyright (C) 2020, 2021 Alban Gruin
*
* ucs is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
@@ -19,7 +19,7 @@ module Event : sig
type t
val make : CalendarLib.Calendar.t -> CalendarLib.Calendar.t ->
- string -> string -> t
+ string -> string -> string list -> t
val to_string : string -> t -> int -> string
end