Restructuring project

This commit is contained in:
Suraxius committed 2020-12-10 21:26:00 +01:00
1 parent 3864be1f85
commit 8fa965823a
34 files changed
+292 -47

No files matched your search

+3 -6
View File
@@ -1,8 +1,5 @@
add_library(API OBJECT)
add_library(API OBJECT Server.cpp)
target_sources(API PRIVATE src)
target_include_directories(API
PUBLIC include
PRIVATE src)
target_include_directories(API PUBLIC include)
target_link_libraries(API PRIVATE Core)
+10
View File
@@ -0,0 +1,10 @@
#include "Server.hpp"
namespace DistriNS {
namespace API {
Server::Server(EventBus& eventBus) : eventBus(eventBus) {
//Constructor
}
}}
+1 -3
View File
@@ -1,6 +1,4 @@
#ifndef API_HPP
#define API_HPP
class API;
#include "Server.hpp"
#endif
+18
View File
@@ -0,0 +1,18 @@
#ifndef SERVER_HPP
#define SERVER_HPP
#include "EventBus.hpp"
namespace DistriNS {
namespace API {
using Core::EventBus;
class Server {
const EventBus& eventBus;
public:
Server(EventBus& eventBus);
};
}}
#endif
View File
Whitespace-only changes.