Merge pull request #12486 from owncloud/activity_priorities

add activity priorities to core so that other apps can reuse it
This commit is contained in:
Lukas Reschke 2014-11-28 14:40:27 +01:00
commit 2c157da1c2
1 changed files with 7 additions and 0 deletions

View File

@ -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