project: added project skeleton
Skeleton includes emtpy implementations of application class structure. Source groups were added to CMakeLists to define filters in Visual Studio.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
#include "component/view/CodeView.h"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef CODE_VIEW_H
|
||||
#define CODE_VIEW_H
|
||||
|
||||
#include "component/view/View.h"
|
||||
|
||||
class CodeView: public View
|
||||
{
|
||||
};
|
||||
|
||||
|
||||
#endif // CODE_VIEW_H
|
||||
@@ -0,0 +1,5 @@
|
||||
#include "component/view/View.h"
|
||||
|
||||
View::~View()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef VIEW_H
|
||||
#define VIEW_H
|
||||
|
||||
class View
|
||||
{
|
||||
public:
|
||||
virtual ~View();
|
||||
};
|
||||
|
||||
|
||||
#endif // VIEW_H
|
||||
@@ -0,0 +1,9 @@
|
||||
#include "component/view/ViewManager.h"
|
||||
|
||||
ViewManager::ViewManager()
|
||||
{
|
||||
}
|
||||
|
||||
ViewManager::~ViewManager()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
#ifndef VIEW_MANAGER_H
|
||||
#define VIEW_MANAGER_H
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "component/view/View.h"
|
||||
|
||||
class ViewManager
|
||||
{
|
||||
public:
|
||||
ViewManager();
|
||||
~ViewManager();
|
||||
|
||||
private:
|
||||
std::vector<std::shared_ptr<View>> m_views;
|
||||
};
|
||||
|
||||
|
||||
#endif // VIEW_MANAGER_H
|
||||
Reference in New Issue
Block a user