logic: code controller communication

- Replaced CodeAccess with LocationAccess.
- Implemented basic functionality for CodeController.
- Added messaging to the project.
- Added QtThreadedFunctor to enable our Messaging thread to invoke calls on the QtThread.
- Added GraphController.

fortune cookie message = Good news from someone dear is coming soon.
This commit is contained in:
malte_langkabel
2014-07-02 16:42:33 +02:00
parent a8e32af5dd
commit 400e2629d2
37 changed files with 441 additions and 78 deletions
-1
View File
@@ -1 +0,0 @@
#include "data/access/CodeAccess.h"
-9
View File
@@ -1,9 +0,0 @@
#ifndef CODE_ACCESS_H
#define CODE_ACCESS_H
class CodeAccess
{
};
#endif // CODE_ACCESS_H
+4
View File
@@ -1 +1,5 @@
#include "data/access/GraphAccess.h"
GraphAccess::~GraphAccess()
{
}
+8
View File
@@ -1,8 +1,16 @@
#ifndef GRAPH_ACCESS_H
#define GRAPH_ACCESS_H
#include "utility/types.h"
class Token;
class GraphAccess
{
public:
virtual ~GraphAccess();
virtual Token* getToken(Id tokenId) = 0;
};
+5
View File
@@ -0,0 +1,5 @@
#include "data/access/LocationAccess.h"
LocationAccess::~LocationAccess()
{
}
+17
View File
@@ -0,0 +1,17 @@
#ifndef LOCATION_ACCESS_H
#define LOCATION_ACCESS_H
#include "utility/types.h"
class TokenLocation;
class LocationAccess
{
public:
virtual ~LocationAccess();
virtual TokenLocation* getTokenLocation(Id locationId) = 0;
};
#endif // LOCATION_ACCESS_H