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:
@@ -1 +0,0 @@
|
||||
#include "data/access/CodeAccess.h"
|
||||
@@ -1,9 +0,0 @@
|
||||
#ifndef CODE_ACCESS_H
|
||||
#define CODE_ACCESS_H
|
||||
|
||||
class CodeAccess
|
||||
{
|
||||
};
|
||||
|
||||
|
||||
#endif // CODE_ACCESS_H
|
||||
@@ -1 +1,5 @@
|
||||
#include "data/access/GraphAccess.h"
|
||||
|
||||
GraphAccess::~GraphAccess()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#include "data/access/LocationAccess.h"
|
||||
|
||||
LocationAccess::~LocationAccess()
|
||||
{
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user