add activity priorities to core so that other apps can reuse it

This commit is contained in:
Bjoern Schiessle 2014-11-28 10:37:16 +01:00
parent 154628daf4
commit 00ad7d48c7
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