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