Mercurial > libervia-backend
diff src/core/constants.py @ 2145:33c8c4973743
core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 18:59:10 +0100 |
parents | 1d3f73e065e1 |
children | bca699faf416 |
line wrap: on
line diff
--- a/src/core/constants.py Sun Feb 12 17:55:43 2017 +0100 +++ b/src/core/constants.py Sun Feb 12 18:59:10 2017 +0100 @@ -176,9 +176,17 @@ # PLUGIN_INFO keys # XXX: we use PI instead of PLUG_INFO which would normally be used # to make the header more readable + PI_NAME = u'name' PI_IMPORT_NAME = u'import_name' + PI_MAIN = u'main' + PI_HANDLER = u'handler' + PI_TYPE = u'type' + PI_MODES = u'modes' + PI_PROTOCOLS = u'protocols' PI_DEPENDENCIES = u'dependencies' PI_RECOMMENDATIONS = u'recommendations' + PI_DESCRIPTION = u'description' + PI_USAGE = u'usage' # Types PLUG_TYPE_XEP = "XEP"