aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Bootstrap
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-02-04 11:13:50 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-02-07 12:51:42 +0100
commit9a656e5b35d004b55fbe09d10d51254a8ec4fd67 (patch)
treeed1dd47a11822744820866ef2b5a5fc3e7dedeb9 /lib/public/AppFramework/Bootstrap
parentbb55b79837a677074473e980a6b88d358a118621 (diff)
downloadnextcloud-server-9a656e5b35d004b55fbe09d10d51254a8ec4fd67.tar.gz
nextcloud-server-9a656e5b35d004b55fbe09d10d51254a8ec4fd67.zip
Move calendar resource/room backend registration to IBootstrap
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/AppFramework/Bootstrap')
-rw-r--r--lib/public/AppFramework/Bootstrap/IRegistrationContext.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
index 19b5665f547..89583912e00 100644
--- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
+++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
@@ -275,4 +275,24 @@ interface IRegistrationContext {
* @since 24.0.0
*/
public function registerTalkBackend(string $backend): void;
+
+ /**
+ * Register a resource backend for the DAV server
+ *
+ * @param string $actionClass
+ * @psalm-param class-string<\OCP\Calendar\Resource\IBackend> $actionClass
+ * @return void
+ * @since 24.0.0
+ */
+ public function registerCalendarResourceBackend(string $class): void;
+
+ /**
+ * Register a room backend for the DAV server
+ *
+ * @param string $actionClass
+ * @psalm-param class-string<\OCP\Calendar\Room\IBackend> $actionClass
+ * @return void
+ * @since 24.0.0
+ */
+ public function registerCalendarRoomBackend(string $class): void;
}