From: Bjoern Schiessle Date: Fri, 28 Nov 2014 09:37:16 +0000 (+0100) Subject: add activity priorities to core so that other apps can reuse it X-Git-Tag: v8.0.0alpha1~210^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=00ad7d48c7ac88ace70c83e2d0841be667c47fa7;p=nextcloud-server.git add activity priorities to core so that other apps can reuse it --- diff --git a/lib/public/activity/iextension.php b/lib/public/activity/iextension.php index 6bb403a8896..e78ae0043a6 100644 --- a/lib/public/activity/iextension.php +++ b/lib/public/activity/iextension.php @@ -30,6 +30,13 @@ namespace OCP\Activity; interface IExtension { + + const PRIORITY_VERYLOW = 10; + const PRIORITY_LOW = 20; + const PRIORITY_MEDIUM = 30; + const PRIORITY_HIGH = 40; + const PRIORITY_VERYHIGH = 50; + /** * The extension can return an array of additional notification types. * If no additional types are to be added false is to be returned