a F `@s^ddlmZmZddlZeddddlmZddgZGddded ZGd ddeZ dS) )ABCMetaabstractmethodNGLibz2.0)rAbstractEventLoop EventLoopc@s(eZdZdZeddZeddZdS)raoThe abstract representation of the event loop. It is necessary to run the event loop to handle emitted DBus signals or incoming DBus calls (in the DBus service). Example: .. code-block:: python # Create the event loop. loop = EventLoop() # Start the event loop. loop.run() # Run loop.quit() to stop. cCsdSzStart the event loop.Nselfrr//usr/lib/python3.9/site-packages/dasbus/loop.pyrun5szAbstractEventLoop.runcCsdSzStop the event loop.Nrr rrr quit:szAbstractEventLoop.quitN)__name__ __module__ __qualname____doc__rr rrrrr r!s  ) metaclassc@s(eZdZdZddZddZddZdS) rz%The representation of the event loop.cCst|_dS)zCreate the event loop.N)rZMainLoop_loopr rrr __init__CszEventLoop.__init__cCs|jdSr)rr r rrr r Gsz EventLoop.runcCs|jdSr )rrr rrr rKszEventLoop.quitN)rrrrrr rrrrr r@s) abcrrZgiZrequire_versionZ gi.repositoryr__all__rrrrrr s