28 lines
611 B
Python
28 lines
611 B
Python
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
from __future__ import annotations
|
|
|
|
from Base.Metadata import constmethod
|
|
from App.Extension import Extension
|
|
|
|
class ViewProviderExtension(Extension):
|
|
"""
|
|
Base class for all view provider extensions
|
|
|
|
Author: Werner Mayer (wmayer[at]users.sourceforge.net)
|
|
Licence: LGPL
|
|
"""
|
|
|
|
def setIgnoreOverlayIcon(self) -> None:
|
|
"""
|
|
Ignore the overlay icon of an extension
|
|
"""
|
|
...
|
|
|
|
@constmethod
|
|
def ignoreOverlayIcon(self) -> None:
|
|
"""
|
|
Ignore the overlay icon of an extension
|
|
"""
|
|
...
|