Sync: Complete project state with all MEGA SPRINT V1-V3 features and Codex stubs
This commit is contained in:
21
_Framework/Component.py
Normal file
21
_Framework/Component.py
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user