mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added IHostModule to be able identify module representing a host
This commit is contained in:
parent
0c108db712
commit
4f9d1c34e2
1 changed files with 11 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from abc import abstractmethod
|
||||
from abc import abstractmethod, abstractproperty
|
||||
|
||||
from openpype import resources
|
||||
|
||||
|
|
@ -320,3 +320,13 @@ class ISettingsChangeListener(OpenPypeInterface):
|
|||
self, old_value, new_value, changes, project_name, new_value_metadata
|
||||
):
|
||||
pass
|
||||
|
||||
|
||||
class IHostModule(OpenPypeInterface):
|
||||
"""Module which also contain a host implementation."""
|
||||
|
||||
@abstractproperty
|
||||
def host_name(self):
|
||||
"""Name of host which module represents."""
|
||||
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue