Skip to content

Commit

Permalink
Move .hpp files to include folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightkingale committed Apr 14, 2024
1 parent 9206fd4 commit 898d012
Show file tree
Hide file tree
Showing 36 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ TARGET := Wii_U_Time_Sync
BUILD := build
SOURCES := source source/wupsxx
DATA := data
INCLUDES := source
INCLUDES := include include/wupsxx
PLUGIN_NAME := "Wii U Time Sync"

# Be verbose by default.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions source/cfg.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: MIT

#include "cfg.hpp"
#include "../include/cfg.hpp"

#include "utc.hpp"
#include "wupsxx/storage.hpp"
#include "../include/utc.hpp"
#include "../include/wupsxx/storage.hpp"


namespace cfg {
Expand Down
8 changes: 4 additions & 4 deletions source/config_screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

#include "config_screen.hpp"

#include "cfg.hpp"
#include "http_client.hpp"
#include "nintendo_glyphs.hpp"
#include "utils.hpp"
#include "../include/cfg.hpp"
#include "../include/http_client.hpp"
#include "../include/nintendo_glyphs.hpp"
#include "../include/utils.hpp"


using wups::bool_item;
Expand Down
16 changes: 8 additions & 8 deletions source/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
#include <sys/select.h> // select()
#include <sys/socket.h> // connect(), send(), recv()

#include "core.hpp"

#include "cfg.hpp"
#include "limited_async.hpp"
#include "log.hpp"
#include "ntp.hpp"
#include "utc.hpp"
#include "utils.hpp"
#include "../include/core.hpp"

#include "../include/cfg.hpp"
#include "../include/limited_async.hpp"
#include "../include/log.hpp"
#include "../include/ntp.hpp"
#include "../include/utc.hpp"
#include "../include/utils.hpp"


using namespace std::literals;
Expand Down
4 changes: 2 additions & 2 deletions source/http_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include <sys/socket.h> // connect()

#include "http_client.hpp"
#include "../include/http_client.hpp"

#include "utils.hpp"
#include "../include/utils.hpp"


#define LOG(FMT, ...) WHBLogPrintf(FMT __VA_OPT__(,) __VA_ARGS__)
Expand Down
4 changes: 2 additions & 2 deletions source/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#include <notifications/notifications.h>

#include "log.hpp"
#include "../include/log.hpp"

#include "cfg.hpp"
#include "../include/cfg.hpp"


void
Expand Down
10 changes: 5 additions & 5 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#include <whb/log_udp.h>

// local headers
#include "cfg.hpp"
#include "config_screen.hpp"
#include "preview_screen.hpp"
#include "core.hpp"
#include "wupsxx/config.hpp"
#include "../include/cfg.hpp"
#include "../include/config_screen.hpp"
#include "../include/preview_screen.hpp"
#include "../include/core.hpp"
#include "../include/wupsxx/config.hpp"


// Important plugin information.
Expand Down
2 changes: 1 addition & 1 deletion source/ntp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <bit> // endian, byteswap()
#include <cmath>

#include "ntp.hpp"
#include "../include/ntp.hpp"


#ifdef __WIIU__
Expand Down
10 changes: 5 additions & 5 deletions source/preview_screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

#include "preview_screen.hpp"

#include "cfg.hpp"
#include "core.hpp"
#include "log.hpp"
#include "nintendo_glyphs.hpp"
#include "utils.hpp"
#include "../include/cfg.hpp"
#include "../include/core.hpp"
#include "../include/log.hpp"
#include "../include/nintendo_glyphs.hpp"
#include "../include/utils.hpp"


using std::make_unique;
Expand Down
2 changes: 1 addition & 1 deletion source/utc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <coreinit/time.h>

#include "utc.hpp"
#include "../include/utc.hpp"


namespace utc {
Expand Down
2 changes: 1 addition & 1 deletion source/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <unistd.h> // close()

// local headers
#include "utils.hpp"
#include "../include/utils.hpp"


namespace utils {
Expand Down
2 changes: 1 addition & 1 deletion source/wupsxx/base_item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <cstdio>
#include <stdexcept>

#include "base_item.hpp"
#include "../../include/wupsxx/base_item.hpp"


namespace wups {
Expand Down
2 changes: 1 addition & 1 deletion source/wupsxx/bool_item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "bool_item.hpp"
#include "storage.hpp"

#include "../nintendo_glyphs.hpp"
#include "../../include/nintendo_glyphs.hpp"


namespace wups {
Expand Down
2 changes: 1 addition & 1 deletion source/wupsxx/category.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <stdexcept>

#include "category.hpp"
#include "../../include/wupsxx/category.hpp"


namespace wups {
Expand Down
2 changes: 1 addition & 1 deletion source/wupsxx/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <stdexcept>

#include "config.hpp"
#include "../../include/wupsxx/config.hpp"


namespace wups {
Expand Down
6 changes: 3 additions & 3 deletions source/wupsxx/int_item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#include <cstdio>
#include <stdexcept>

#include "int_item.hpp"
#include "storage.hpp"
#include "../../include/wupsxx/int_item.hpp"
#include "../../include/wupsxx/storage.hpp"

#include "../nintendo_glyphs.hpp"
#include "../../include/nintendo_glyphs.hpp"


namespace wups {
Expand Down
2 changes: 1 addition & 1 deletion source/wupsxx/storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <wups.h>

#include "storage.hpp"
#include "../../include/wupsxx/storage.hpp"


namespace wups {
Expand Down
2 changes: 1 addition & 1 deletion source/wupsxx/text_item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <cstdio>
#include <stdexcept>

#include "text_item.hpp"
#include "../../include/wupsxx/text_item.hpp"


using namespace std::literals;
Expand Down

0 comments on commit 898d012

Please sign in to comment.