22 lines
492 B
Python
22 lines
492 B
Python
from __future__ import absolute_import, print_function, unicode_literals
|
|
|
|
import Live
|
|
|
|
|
|
class Component(object):
|
|
"""Minimal compatibility layer for handlers importing `_Framework.Component`."""
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
pass
|
|
|
|
@property
|
|
def song(self):
|
|
return Live.Application.get_application().get_document()
|
|
|
|
@property
|
|
def application(self):
|
|
return Live.Application.get_application()
|
|
|
|
def disconnect(self):
|
|
return None
|