From 00ad7d48c7ac88ace70c83e2d0841be667c47fa7 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 28 Nov 2014 10:37:16 +0100 Subject: [PATCH] add activity priorities to core so that other apps can reuse it --- lib/public/activity/iextension.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/public/activity/iextension.php b/lib/public/activity/iextension.php index 6bb403a889..e78ae0043a 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