Skeleton includes emtpy implementations of application class structure. Source groups were added to CMakeLists to define filters in Visual Studio.
23 lines
386 B
C++
23 lines
386 B
C++
#ifndef COMPONENT_H
|
|
#define COMPONENT_H
|
|
|
|
#include <memory>
|
|
|
|
#include "component/controller/Controller.h"
|
|
#include "component/view/View.h"
|
|
|
|
class Component
|
|
{
|
|
public:
|
|
Component(const std::shared_ptr<Controller>& controller, const std::shared_ptr<View>& view);
|
|
|
|
~Component();
|
|
|
|
private:
|
|
std::shared_ptr<Controller> m_controller;
|
|
std::shared_ptr<View> m_view;
|
|
};
|
|
|
|
|
|
#endif // COMPONENT_H
|