aboutsummaryrefslogtreecommitdiff
path: root/src/ics.mli
diff options
context:
space:
mode:
authorAlban Gruin2021-10-04 12:46:08 +0200
committerAlban Gruin2021-10-04 12:46:08 +0200
commit3bed39113f475ae9b1243ab6a018169ef9bf8c92 (patch)
treeb94824807833d66f6ec37ea2665268a8e97560d6 /src/ics.mli
parentcee4a3ef6aba480b54ae32b427ce4579832e5d69 (diff)
course, ics: location may be empty, make it an option
As there may not be a location, make it an option type so we can easily add a warning in the title of an event. Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'src/ics.mli')
-rw-r--r--src/ics.mli3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ics.mli b/src/ics.mli
index f56a1a4..c2db3a2 100644
--- a/src/ics.mli
+++ b/src/ics.mli
@@ -19,7 +19,8 @@ module Event : sig
type t
val make : CalendarLib.Calendar.t -> CalendarLib.Calendar.t ->
- string -> string -> string list -> t
+ string -> string option -> string list -> t
+
val to_string : string -> t -> int -> string
end