diff options
Diffstat (limited to 'lib/public/Calendar')
-rw-r--r-- | lib/public/Calendar/ICreateFromString.php | 9 | ||||
-rw-r--r-- | lib/public/Calendar/IManager.php | 14 |
2 files changed, 23 insertions, 0 deletions
diff --git a/lib/public/Calendar/ICreateFromString.php b/lib/public/Calendar/ICreateFromString.php index 343405e8ab6..8c4bdd44041 100644 --- a/lib/public/Calendar/ICreateFromString.php +++ b/lib/public/Calendar/ICreateFromString.php @@ -1,4 +1,6 @@ <?php + +declare(strict_types=1); /** * @copyright 2021 Anna Larch <anna.larch@gmx.net> * @@ -38,4 +40,11 @@ interface ICreateFromString extends ICalendar { * @throws CalendarException */ public function createFromString(string $name, string $calendarData): void; + + /** + * @since 25.0.0 + * + * @throws CalendarException + */ + public function handleIMipMessage(string $name, string $calendarData): void; } diff --git a/lib/public/Calendar/IManager.php b/lib/public/Calendar/IManager.php index 7f0eec80910..dd65917d12b 100644 --- a/lib/public/Calendar/IManager.php +++ b/lib/public/Calendar/IManager.php @@ -156,4 +156,18 @@ interface IManager { * @since 23.0.0 */ public function newQuery(string $principalUri) : ICalendarQuery; + + /** + * Handle a iMip REPLY message + * + * @since 25.0.0 + */ + public function handleIMipReply(string $principalUri, string $sender, string $recipient, string $calendarData): bool; + + /** + * Handle a iMip CANCEL message + * + * @since 25.0.0 + */ + public function handleIMipCancel(string $principalUri, string $sender, ?string $replyTo, string $recipient, string $calendarData): bool; } |