diff options
author | Georg Ehrke <developer@georgehrke.com> | 2019-08-09 20:25:21 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-08-15 20:03:51 +0200 |
commit | bcce568c6d892ccacc598c5d5bfa6b24c3284741 (patch) | |
tree | 5ecf26f407ac71ef7b97e99a9f3f026c3ec6974e /apps/dav/lib/CalDAV/Reminder/INotificationProvider.php | |
parent | 7c4a8a3bdf6d8c0c12cf7cab93cc465c83c4ec8f (diff) | |
download | nextcloud-server-bcce568c6d892ccacc598c5d5bfa6b24c3284741.tar.gz nextcloud-server-bcce568c6d892ccacc598c5d5bfa6b24c3284741.zip |
Support recurring events + repeating alarms
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/CalDAV/Reminder/INotificationProvider.php')
-rw-r--r-- | apps/dav/lib/CalDAV/Reminder/INotificationProvider.php | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php b/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php new file mode 100644 index 00000000000..d0e526eb0ee --- /dev/null +++ b/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php @@ -0,0 +1,47 @@ +<?php +declare(strict_types=1); +/** + * @copyright Copyright (c) 2019, Georg Ehrke + * + * @author Georg Ehrke <oc.list@georgehrke.com> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +namespace OCA\DAV\CalDAV\Reminder; + +use OCP\IUser; +use Sabre\VObject\Component\VEvent; + +/** + * Interface INotificationProvider + * + * @package OCA\DAV\CalDAV\Reminder + */ +interface INotificationProvider { + + /** + * Send notification + * + * @param VEvent $vevent + * @param string $calendarDisplayName + * @param IUser[] $users + * @return void + */ + public function send(VEvent $vevent, + string $calendarDisplayName, + array $users=[]): void; +}
\ No newline at end of file |