src: replaced gui wording with view wording
Changed gui wording in lib and app to view wording, since MVC views do not necessarily deal with GUIs. And moved files so structure is similar in lib and app.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef VIEW_FACTORY_H
|
||||
#define VIEW_FACTORY_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
class CodeView;
|
||||
class GraphView;
|
||||
class MainView;
|
||||
class SearchView;
|
||||
class ViewLayout;
|
||||
|
||||
class ViewFactory
|
||||
{
|
||||
public:
|
||||
ViewFactory();
|
||||
virtual ~ViewFactory();
|
||||
|
||||
virtual std::shared_ptr<MainView> createMainView() const = 0;
|
||||
virtual std::shared_ptr<CodeView> createCodeView(ViewLayout* viewLayout) const = 0;
|
||||
virtual std::shared_ptr<GraphView> createGraphView(ViewLayout* viewLayout) const = 0;
|
||||
virtual std::shared_ptr<SearchView> createSearchView(ViewLayout* viewLayout) const = 0;
|
||||
};
|
||||
|
||||
#endif // VIEW_FACTORY_H
|
||||
Reference in New Issue
Block a user