Skip to content

Commit

Permalink
Connector: add prototype for get_mode()
Browse files Browse the repository at this point in the history
  • Loading branch information
tomba committed Aug 23, 2024
1 parent ab23009 commit 95fc8ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kms/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ def connected(self):
def get_default_mode(self):
return self.modes[0]

def get_mode(self, name: str):
raise NotImplementedError()

@property
def current_crtc(self):
if self.connector_res.encoder_id == 0:
Expand Down

0 comments on commit 95fc8ad

Please sign in to comment.