a
    §ˆc  ã                   @   s   d Z G dd„ deƒZdS )ú, Default base-class for resource factories. c                   @   s    e Zd ZdZdd„ Zdd„ ZdS )ÚResourceFactoryr   c                 C   s
   t ƒ ‚dS )z; Creates an image from the data in the specified filename. N©ÚNotImplementedError)ÚselfÚfilename© r   úc/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pyface/resource/resource_factory.pyÚimage_from_file   s    zResourceFactory.image_from_filec                 C   s
   t ƒ ‚dS )z+ Creates an image from the specified data. Nr   )r   Údatar   r   r   Úimage_from_data   s    zResourceFactory.image_from_dataN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   r   r   r   r   r   r      s   r   N)r   Úobjectr   r   r   r   r   Ú<module>   s   