<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
À<×en  ã               @   s.   d dl Zd dljZd dlZG dd„ deƒZdS )é    Nc               @   sl   e Zd ZdZdddgZdd„ Zdd„ Zd	d
„ Zdd„ Ze	dd„ ƒZ
e
jdd„ ƒZ
e	dd„ ƒZe	dd„ ƒZdS )ÚProfilez'
	Representation of a tuning profile.
	Ú_nameÚ_optionsÚ_unitsc             C   s   || _ | j|ƒ | j|ƒ d S )N)r   Ú_init_optionsÚ_init_units)ÚselfÚnameÚconfig© r   ú/usr/lib/python3.6/profile.pyÚ__init__   s    
zProfile.__init__c             C   s$   i | _ tj|kr t|tj ƒ| _ d S )N)r   ÚconstsÚPLUGIN_MAIN_UNIT_NAMEÚdict)r   r
   r   r   r   r      s    
zProfile._init_optionsc             C   s@   t jƒ | _x0|D ](}|tjkr| j||| ƒ}|| j|< qW d S )N)ÚcollectionsÚOrderedDictr   r   r   Ú_create_unit)r   r
   Z	unit_nameZnew_unitr   r   r   r      s
    


zProfile._init_unitsc             C   s   t jjj||ƒS )N)ÚtunedZprofilesZunitZUnit)r   r	   r
   r   r   r   r      s    zProfile._create_unitc             C   s   | j S )z
		Profile name.
		)r   )r   r   r   r   r	       s    zProfile.namec             C   s
   || _ d S )N)r   )r   Úvaluer   r   r   r	   '   s    c             C   s   | j S )z$
		Units included in the profile.
		)r   )r   r   r   r   Úunits+   s    zProfile.unitsc             C   s   | j S )z
		Profile global options.
		)r   )r   r   r   r   Úoptions2   s    zProfile.optionsN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   r   r   r   Úpropertyr	   Úsetterr   r   r   r   r   r   r      s   
r   )Ztuned.profiles.unitr   Ztuned.constsr   r   Úobjectr   r   r   r   r   Ú<module>   s   
