# Copyright (c) 2018-2020, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
# 
import abc


class SearchDelegate:
    def __init__(self):
        self._search_dir = None

    @property
    def visible(self):
        return True  # pragma: no cover

    @property
    def enabled(self):
        """Enable/disable Widget"""
        return True  # pragma: no cover

    @property
    def search_dir(self):
        return self._search_dir  # pragma: no cover

    @search_dir.setter
    def search_dir(self, search_dir: str):
        self._search_dir = search_dir  # pragma: no cover

    @abc.abstractmethod
    def build_ui(self):
        pass  # pragma: no cover

    @abc.abstractmethod
    def destroy(self):
        pass  # pragma: no cover
