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:
Eberhard Graether
2014-03-31 17:59:52 +02:00
parent b5f91e62fa
commit d4e3433e5d
72 changed files with 957 additions and 57 deletions
+38
View File
@@ -0,0 +1,38 @@
#ifndef PROJECT_H
#define PROJECT_H
#include <memory>
#include "data/access/CodeAccess.h"
#include "data/access/GraphAccess.h"
#include "data/GraphStorage.h"
#include "data/Parser.h"
#include "ProjectSettings.h"
class Project
{
public:
static std::shared_ptr<Project> create(
const std::shared_ptr<CodeAccess>& codeAccess,
const std::shared_ptr<GraphAccess>& graphAccess);
~Project();
const ProjectSettings& getProjectSettings() const;
private:
Project();
Project(const Project&);
ProjectSettings m_settings;
std::shared_ptr<Parser> m_parser;
std::shared_ptr<GraphStorage> m_graphStorage;
std::shared_ptr<CodeAccess> m_codeAccess;
std::shared_ptr<GraphAccess> m_graphAccess;
};
#endif // PROJECT_H