Files
Sourcetrail/src/lib/Application.h
T
Eberhard Graether d4e3433e5d project: added project skeleton
Skeleton includes emtpy implementations of application class structure.
Source groups were added to CMakeLists to define filters in Visual Studio.
2014-03-31 17:59:52 +02:00

36 lines
724 B
C++

#ifndef APPLICATION_H
#define APPLICATION_H
#include <memory>
#include "component/ComponentManager.h"
#include "component/view/ViewManager.h"
#include "data/access/CodeAccess.h"
#include "data/access/GraphAccess.h"
#include "gui/GuiElementFactory.h"
#include "Project.h"
class Application
{
public:
static std::shared_ptr<Application> create(std::shared_ptr<GuiElementFactory> guiElementFactory);
~Application();
void loadProject();
private:
Application();
std::shared_ptr<Project> m_project;
std::shared_ptr<CodeAccess> m_codeAccess;
std::shared_ptr<GraphAccess> m_graphAccess;
std::shared_ptr<ComponentManager> m_componentManager;
std::shared_ptr<ViewManager> m_viewManager;
};
#endif // APPLICATION_H