U
    P’“e:  ã                   @   s   d Z dZG dd„ deƒZdS )a+  
Motion Event Provider
=====================

Abstract class for the implementation of a
:class:`~kivy.input.motionevent.MotionEvent`
provider. The implementation must support the
:meth:`~MotionEventProvider.start`, :meth:`~MotionEventProvider.stop` and
:meth:`~MotionEventProvider.update` methods.
)ÚMotionEventProviderc                   @   s0   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
S )r   zBase class for a provider.
    c                 C   s   || _ | jtkrtdƒ‚d S )Nz%class MotionEventProvider is abstract)ÚdeviceÚ	__class__r   ÚNotImplementedError)Úselfr   Úargs© r   ú7/tmp/pip-unpacked-wheel-xzebddm3/kivy/input/provider.pyÚ__init__   s    
zMotionEventProvider.__init__c                 C   s   dS )z¤Start the provider. This method is automatically called when the
        application is started and if the configuration uses the current
        provider.
        Nr   ©r   r   r   r   Ústart   s    zMotionEventProvider.startc                 C   s   dS )zStop the provider.
        Nr   r
   r   r   r   Ústop   s    zMotionEventProvider.stopc                 C   s   dS )zmUpdate the provider and dispatch all the new touch events though the
        `dispatch_fn` argument.
        Nr   )r   Zdispatch_fnr   r   r   Úupdate$   s    zMotionEventProvider.updateN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   r   r   r   r   r   r   r   r      s
   r   N)r   Ú__all__Úobjectr   r   r   r   r   Ú<module>   s   