19 #ifndef UNITY_SCOPES_SEARCHLISTENERBASE_H
20 #define UNITY_SCOPES_SEARCHLISTENERBASE_H
22 #include <unity/scopes/ListenerBase.h>
23 #include <unity/util/DefinesPtrs.h>
24 #include <unity/util/NonCopyable.h>
25 #include <unity/scopes/Category.h>
26 #include <unity/scopes/Annotation.h>
27 #include <unity/scopes/Department.h>
28 #include <unity/scopes/FilterBase.h>
38 class CategorisedResult;
68 virtual void push(
DepartmentList const& departments, std::string
const& current_department_id);
89 virtual void push(Category::SCPtr category);
Query link(s) that result in a new search query when clicked by the user.
Definition: Annotation.h:45
std::list< FilterBase::SCPtr > Filters
List of filters.
Definition: FilterBase.h:83
std::list< Department > DepartmentList
List of departments (see unity::scopes::Department)
Definition: Department.h:40
Abstract base interface that a scope specializes to receive the results of a query.
Definition: SearchListenerBase.h:53
virtual void push(DepartmentList const &departments, std::string const ¤t_department_id)
Called at most once by the scopes run time for a list of departments returned by a query...
Captures state of multiple filters.
Definition: FilterState.h:47
A result, including the category it belongs to.
Definition: CategorisedResult.h:41
Abstract base class to be notified of query completion.
Definition: ListenerBase.h:42