comparison src/plugins/plugin_misc_quiz.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 6a66c8c5a567
children 8b37a62336c3
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
29 29
30 NS_QG = 'http://www.goffi.org/protocol/quiz' 30 NS_QG = 'http://www.goffi.org/protocol/quiz'
31 QG_TAG = 'quiz' 31 QG_TAG = 'quiz'
32 32
33 PLUGIN_INFO = { 33 PLUGIN_INFO = {
34 "name": "Quiz game plugin", 34 C.PI_NAME: "Quiz game plugin",
35 "import_name": "Quiz", 35 C.PI_IMPORT_NAME: "Quiz",
36 "type": "Game", 36 C.PI_TYPE: "Game",
37 "protocols": [], 37 C.PI_PROTOCOLS: [],
38 "dependencies": ["XEP-0045", "XEP-0249", "ROOM-GAME"], 38 C.PI_DEPENDENCIES: ["XEP-0045", "XEP-0249", "ROOM-GAME"],
39 "main": "Quiz", 39 C.PI_MAIN: "Quiz",
40 "handler": "yes", 40 C.PI_HANDLER: "yes",
41 "description": _("""Implementation of Quiz game""") 41 C.PI_DESCRIPTION: _("""Implementation of Quiz game""")
42 } 42 }
43 43
44 44
45 class Quiz(object): 45 class Quiz(object):
46 46