History wipe because Zed is very annoying...

This commit is contained in:
2026-08-24 11:37:33 +12:00
commit 5c3d47081e
17 changed files with 702 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
from abc import ABC, abstractmethod
from pathlib import Path
from .structs import Modeline, MonitorInfo
class AbstractDisplay(ABC):
@abstractmethod
def get_modes(self) -> list[MonitorInfo]:
pass
@abstractmethod
def set_mode(self, modeline: Modeline, requested_connector: str) -> None:
pass
@abstractmethod
def save_current_mode(self, location: str | Path) -> None:
pass
@abstractmethod
def read_saved_mode(self, location: str | Path) -> Modeline:
pass
@staticmethod
@abstractmethod
def detect() -> bool:
pass