mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
16 lines
341 B
Python
16 lines
341 B
Python
from __future__ import annotations
|
|
|
|
from abc import ABC, abstractmethod
|
|
from typing import TYPE_CHECKING
|
|
|
|
if TYPE_CHECKING:
|
|
from .lasercode import LaserCode
|
|
|
|
|
|
class ILaserCodeRegistry(ABC):
|
|
@abstractmethod
|
|
def alloc_laser_code(self) -> LaserCode: ...
|
|
|
|
@abstractmethod
|
|
def release_code(self, code: LaserCode) -> None: ...
|