aboutsummaryrefslogtreecommitdiff
path: root/module/vcalendar.scm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--module/vcalendar.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/module/vcalendar.scm b/module/vcalendar.scm
index 51c4f8e3..0f1a3c57 100644
--- a/module/vcalendar.scm
+++ b/module/vcalendar.scm
@@ -39,6 +39,18 @@
component
(as-string attr)))
+(define (get-property component attr prop)
+ (%vcomponent-get-property
+ component
+ (as-string attr)
+ (as-string prop)))
+
+;; TODO replace this with procedure-with-setter
+(define-public prop get-property)
+
+(define-public (properties component attr)
+ (%vcomponent-property-list component (as-string attr)))
+
;; Enables symmetric get and set:
;; (set! (attr ev "KEY") 10)
(define-public attr (make-procedure-with-setter get-attr set-attr!))