Source code for imagect.api.app
from zope import interface
from zope.component import getUtility
import os.path
[docs]class IApp(interface.Interface) :
"""
App Interface for imagect
"""
def mainwin() :
"""
IMainWin
"""
pass
def asyncio_loop():
"""
loop for ayncio
"""
pass
def rx_scheduler():
"""
scheduler from qt ui loop
"""
pass
def showMsg(title : str, msg : str):
"""
show message box
"""
pass
def appDir() -> str:
"""
application dir
"""
pass
def appDataDir() -> str:
"""
appDataDir dir
"""
pass
[docs]def get() :
return getUtility(IApp)