Skip to content

Commit

Permalink
refactor: include directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Turmoil committed Nov 21, 2024
1 parent afa688b commit cf466f3
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#ifndef _MIOC_SERVICE_CONTAINER_H_
#define _MIOC_SERVICE_CONTAINER_H_

#include <mioc/Macros.h>
#include <mioc/ServiceFactory.h>
#include <mioc/detail/Macros.h>
#include <mioc/detail/ServiceFactory.h>

#include <map>
#include <memory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef _MIOC_SERVICE_FACTORY_H_
#define _MIOC_SERVICE_FACTORY_H_

#include <mioc/Macros.h>
#include <mioc/detail/Macros.h>

#include <functional>
#include <memory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#ifndef _MIOC_SINGLETON_CONTAINER_H_
#define _MIOC_SINGLETON_CONTAINER_H_

#include <mioc/Macros.h>
#include <mioc/ServiceContainer.h>
#include <mioc/detail/Macros.h>
#include <mioc/detail/ServiceContainer.h>

#include <memory>

Expand Down
4 changes: 2 additions & 2 deletions include/mioc.h → include/mioc/mioc.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef _MIOC_H_
#define _MIOC_H_

#include <mioc/ServiceContainer.h>
#include <mioc/SingletonContainer.h>
#include <mioc/detail/ServiceContainer.h>
#include <mioc/detail/SingletonContainer.h>

#endif // _MIOC_H_
2 changes: 1 addition & 1 deletion src/ServiceContainer.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (C) 2023 - 2024 Tony's Studio. All rights reserved.

#include <mioc/ServiceContainer.h>
#include <mioc/detail/ServiceContainer.h>

MIOC_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion src/SingletonContainer.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (C) 2023 - 2024 Tony's Studio. All rights reserved.

#include <mioc/SingletonContainer.h>
#include <mioc/detail/SingletonContainer.h>

MIOC_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion tests/SingletonTest.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <mioc.h>
#include <mioc/mioc.h>
#include "Test.h"
#include "doctest.h"

Expand Down
2 changes: 1 addition & 1 deletion tests/Transient.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <mioc.h>
#include <mioc/mioc.h>
#include "Test.h"
#include "doctest.h"

Expand Down

0 comments on commit cf466f3

Please sign in to comment.