suggestions button sketch

This commit is contained in:
Vinicius Moreira
2019-12-22 22:33:13 -03:00
parent 44da79c03c
commit 4696fc34d4
8 changed files with 12 additions and 7 deletions

View File

@@ -231,9 +231,10 @@ class SoftwareManager(ABC):
pass
@abstractmethod
def list_suggestions(self, limit: int) -> List[PackageSuggestion]:
def list_suggestions(self, limit: int, filter_installed: bool) -> List[PackageSuggestion]:
"""
:param limit: max suggestions to be returned. If limit < 0, it should not be considered
:param filter_installed: if the installed suggestions should not be retrieved
:return: a list of package suggestions
"""
pass