* removed paths in include directives * changed cmake to provide necessary header search paths * changed name of version.h to productVersion.h due to name conflict
31 lines
607 B
C++
31 lines
607 B
C++
#ifndef SEARCH_VIEW_H
|
|
#define SEARCH_VIEW_H
|
|
|
|
#include "View.h"
|
|
#include "SearchMatch.h"
|
|
|
|
class SearchController;
|
|
|
|
class SearchView
|
|
: public View
|
|
{
|
|
public:
|
|
SearchView(ViewLayout* viewLayout);
|
|
virtual ~SearchView();
|
|
|
|
virtual std::string getName() const;
|
|
|
|
virtual std::wstring getQuery() const = 0;
|
|
|
|
virtual void setMatches(const std::vector<SearchMatch>& matches) = 0;
|
|
|
|
virtual void setFocus() = 0;
|
|
virtual void findFulltext() = 0;
|
|
|
|
virtual void setAutocompletionList(const std::vector<SearchMatch>& autocompletionList) = 0;
|
|
|
|
protected:
|
|
SearchController* getController();
|
|
};
|
|
|
|
#endif // SEARCH_VIEW_H
|