Adds ifndef to headers
This commit is contained in:
1 parent
4106c67326
commit
9125e64d09
7 files changed
+33
-3
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef API_HPP
|
||||||
|
#define API_HPP
|
||||||
|
|
||||||
|
class API;
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
#ifndef CLUSTER_HPP
|
||||||
|
#define CLUSTER_HPP
|
||||||
|
#include "Cluster.hpp"
|
||||||
|
|
||||||
|
class Cluster
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Cluster();
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
|
#ifndef EVENT_BUS_HPP
|
||||||
|
#define EVENT_BUS_HPP
|
||||||
|
|
||||||
class EventBus {
|
class EventBus {
|
||||||
public:
|
public:
|
||||||
EventBus();
|
EventBus();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
//#include "resolver/Resolver.hpp"
|
#include "Resolver.hpp"
|
||||||
#include "EventBus.hpp"
|
#include "EventBus.hpp"
|
||||||
|
|
||||||
int main(int args, char **argv) {
|
int main(int args, char **argv) {
|
||||||
@@ -7,7 +7,7 @@ int main(int args, char **argv) {
|
|||||||
using std::endl;
|
using std::endl;
|
||||||
|
|
||||||
EventBus eventBus();
|
EventBus eventBus();
|
||||||
// Resolver resolver();
|
Resolver resolver();
|
||||||
|
|
||||||
cout << "Hello there!" << endl;
|
cout << "Hello there!" << endl;
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
@@ -1,3 +1,5 @@
|
|||||||
|
#ifndef RESOLVER_HPP
|
||||||
|
#define RESOLVER_HPP
|
||||||
#include "EventBus.hpp"
|
#include "EventBus.hpp"
|
||||||
|
|
||||||
class Resolver
|
class Resolver
|
||||||
@@ -5,3 +7,5 @@ class Resolver
|
|||||||
public:
|
public:
|
||||||
Resolver();
|
Resolver();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef STORAGE_HPP
|
||||||
|
#define STORAGE_HPP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in new issue
Block a user