Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/monara/public_html/test.athavaneng.com/themes.php on line 99
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
from . import interfaces
from . import controller
from . import dbus_exporter as dbus
def export(*args, **kwargs):
"""Decorator, use to mark exportable methods."""
def wrapper(method):
method.export_params = [ args, kwargs ]
return method
return wrapper
def signal(*args, **kwargs):
"""Decorator, use to mark exportable signals."""
def wrapper(method):
method.signal_params = [ args, kwargs ]
return method
return wrapper
def register_exporter(instance):
if not isinstance(instance, interfaces.ExporterInterface):
raise Exception()
ctl = controller.ExportsController.get_instance()
return ctl.register_exporter(instance)
def register_object(instance):
if not isinstance(instance, interfaces.ExportableInterface):
raise Exception()
ctl = controller.ExportsController.get_instance()
return ctl.register_object(instance)
def start():
ctl = controller.ExportsController.get_instance()
return ctl.start()
def stop():
ctl = controller.ExportsController.get_instance()
return ctl.stop()