B
    't\U                 @   sJ   d dl mZ ddlmZ d dlmZ d dlmZ dgZG dd deZ	dS )	    )unicode_literals   )Application)
DummyInput)DummyOutputDummyApplicationc                   s@   e Zd ZdZ fddZdd Zdd Zdd	 Zd
d Z  Z	S )r   z
    When no :class:`.Application` is running,
    :func:`.get_app` will run an instance of this :class:`.DummyApplication` instead.
    c                s   t t| jt t d d S )N)outputinput)superr   __init__r   r   )self)	__class__ ?lib/python3.7/site-packages/prompt_toolkit/application/dummy.pyr      s    zDummyApplication.__init__c             C   s   t dd S )Nz*A DummyApplication is not supposed to run.)NotImplementedError)r   r   r   r   run   s    zDummyApplication.runc             C   s   t dd S )Nz*A DummyApplication is not supposed to run.)r   )r   r   r   r   	run_async   s    zDummyApplication.run_asyncc             C   s   t d S )N)r   )r   r   r   r   run_system_command   s    z#DummyApplication.run_system_commandc             C   s   t d S )N)r   )r   r   r   r   suspend_to_background   s    z&DummyApplication.suspend_to_background)
__name__
__module____qualname____doc__r   r   r   r   r   __classcell__r   r   )r   r   r      s   N)
Z
__future__r   Zapplicationr   Zprompt_toolkit.inputr   Zprompt_toolkit.outputr   __all__r   r   r   r   r   <module>   s
   