]> source.dussan.org Git - nextcloud-server.git/commitdiff
add activity priorities to core so that other apps can reuse it
authorBjoern Schiessle <schiessle@owncloud.com>
Fri, 28 Nov 2014 09:37:16 +0000 (10:37 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 28 Nov 2014 09:37:16 +0000 (10:37 +0100)
lib/public/activity/iextension.php

index 6bb403a88966c3a5584f2a1a8b66325749cc60bb..e78ae0043a6fe8c7864267c6a4fede3d321518cb 100644 (file)
 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