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:
Eberhard Graether
2014-07-21 14:48:02 +02:00
parent bf563f92f3
commit 0074db86e8
33 changed files with 199 additions and 205 deletions
+24
View File
@@ -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