~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/console/__init__.py

Require that plugins providing media subclass MediaPlugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from ivle.webapp.base.plugins import ViewPlugin
2
 
from ivle.webapp.base.plugins import OverlayPlugin
 
1
from ivle.webapp.base.plugins import ViewPlugin, OverlayPlugin, MediaPlugin
3
2
from ivle.webapp.console.service import ConsoleServiceRESTView
4
3
from ivle.webapp.console.overlay import ConsoleOverlay
5
4
from ivle.webapp.base.xhtml import XHTMLView
19
18
        ctx['windowpane'] = False
20
19
 
21
20
 
22
 
class Plugin(ViewPlugin, OverlayPlugin):
 
21
class Plugin(ViewPlugin, OverlayPlugin, MediaPlugin):
23
22
    """
24
23
    The Plugin class for the console plugin.
25
24
    """