Adds ifndef to headers

This commit is contained in:
Suraxius committed 2020-12-03 22:14:30 +01:00
1 parent 4106c67326
commit 9125e64d09
7 files changed
+34 -4

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#ifndef API_HPP
#define API_HPP
class API;
#endif
+11
View File
@@ -0,0 +1,11 @@
#ifndef CLUSTER_HPP
#define CLUSTER_HPP
#include "Cluster.hpp"
class Cluster
{
public:
Cluster();
};
#endif
+4 -1
View File
@@ -1,6 +1,9 @@
#ifndef EVENT_BUS_HPP
#define EVENT_BUS_HPP
class EventBus { class EventBus {
public: public:
EventBus(); EventBus();
}; };
#endif
+3 -3
View File
@@ -1,13 +1,13 @@
#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) {
using std::cout; using std::cout;
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.
+4
View File
@@ -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
+6
View File
@@ -0,0 +1,6 @@
#ifndef STORAGE_HPP
#define STORAGE_HPP
#endif