�
�xkd�1 � �� � d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl
mZmZ ddl
Z
g d�Z G d� de� � Z G d� d e� � Z G d
� de� � Z G d� d
e� � ZdS )z�Base classes for progress reporting.
Custom progress classes should inherit from these classes. They can also be
used as dummy progress classes which simply do nothing.
� )�print_functionN)�Optional�Union)�AcquireProgress�
CdromProgress�InstallProgress�
OpProgressc �b � e Zd ZdZdxZxZxZxZZdxZ xZ
Zd� Zd� Z
d� Zd� Zd� Zd � Zd
� Zd� ZdS )
r z�Monitor object for downloads controlled by the Acquire class.
This is an mostly abstract class. You should subclass it and implement the
methods to get something useful.
� r c � � dS )z<Invoked when an item is successfully and completely fetched.N� ��self�items �3/usr/lib/python3/dist-packages/apt/progress/base.py�donezAcquireProgress.done4 � � � � � c � � dS )z*Invoked when an item could not be fetched.Nr
r s r �failzAcquireProgress.fail8 r r c � � dS )z0Invoked when some of the item's data is fetched.Nr
r s r �fetchzAcquireProgress.fetch< |