<reponame>icemac/icemac.addressbook<filename>src/icemac/addressbook/browser/search/interfaces.py
import z3c.menu.ready2go
import zope.interface
import zope.viewlet.interfaces


class ISearchMenu(z3c.menu.ready2go.ISiteMenu):
    """Search menu."""


class ISearchForm(zope.viewlet.interfaces.IViewletManager):
    """Search form manager."""


class ISearchResult(zope.viewlet.interfaces.IViewletManager):
    """Search form manager."""


class ISearch(zope.interface.Interface):
    """A search."""

    def search(**kw):
        """Search for given keyword arguments.

        Returns iterable of results.
        """


class ISearchMenuItemOn(zope.interface.Interface):
    """List of view names.

    For theses names the search menu item in the main navigation should be
    highlighted.
    """

import z3c.menu.ready2go
import zope.interface
import zope.viewlet.interfaces


class ISearchMenu(z3c.menu.ready2go.ISiteMenu):
    """Search menu."""


class ISearchForm(zope.viewlet.interfaces.IViewletManager):
    """Search form manager."""


class ISearchResult(zope.viewlet.interfaces.IViewletManager):
    """Search form manager."""


class ISearch(zope.interface.Interface):
    """A search."""

    def search(**kw):
        """Search for given keyword arguments.

        Returns iterable of results.
        """


class ISearchMenuItemOn(zope.interface.Interface):
    """List of view names.

    For theses names the search menu item in the main navigation should be
    highlighted.
    """
Search menu. Search form manager. Search form manager. A search. Search for given keyword arguments.          Returns iterable of results. List of view names.      For theses names the search menu item in the main navigation should be     highlighted.