Skip to content

Commit

Permalink
nn_sl: Fix c compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Apr 7, 2024
1 parent 281c53b commit 316ceea
Show file tree
Hide file tree
Showing 24 changed files with 9 additions and 25 deletions.
4 changes: 2 additions & 2 deletions include/nn/sl/CacheManager.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include "ISerializer.h"
#include "KillerNotification.h"
#include <nn/result.h>
#include <nn/sl/ISerializer.h>
#include <nn/sl/KillerNotification.h>
#include <nn/sl/sl_cpp.h>
#include <wut.h>

Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IAccountInfoAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IAccountInfoAccessorDetails.h>
#include <wut.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IBlackListAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IBlackListAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IDefaultTitleAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IDefaultTitleAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IDiscCachedTitleAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IDiscCachedTitleAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IInstalledTitleListAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IInstalledTitleListAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IKillerNotificationAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IKillerNotificationAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IMetaInfoAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IMetaInfoAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IPreferentialTitleAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IPreferentialTitleAccessorDetails.h>
#include <wut.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/ISerializer.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <coreinit/time.h>
#include <memory>
#include <nn/result.h>
#include <nn/sl/KillerNotification.h>
#include <nn/sl/details/ISerializerDetails.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/ISettingAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/ISettingAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/ITimeAccessor.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <coreinit/time.h>
#include <memory>
#include <nn/result.h>
#include <nn/sl/details/ITimeAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/ITitleIconCache.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/ITitleIconCacheDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/ITitleListAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/ITitleListAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/ITransferrer.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/ITransferrerDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/IWhiteListAccessor.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/details/IWhiteListAccessorDetails.h>
#include <nn/sl/sl_cpp.h>
Expand Down
8 changes: 7 additions & 1 deletion include/nn/sl/TitleIconCache.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#pragma once

#ifdef __cplusplus

#include <nn/sl/details/IIconInfoAccessorDetails.h>
#include <nn/sl/details/ISerializerDetails.h>
#include <nn/sl/details/ISettingAccessorDetails.h>
Expand Down Expand Up @@ -91,4 +95,6 @@ namespace nn::sl {
details::TitleIconCacheInternal mInstance{};
};

} // namespace nn::sl
} // namespace nn::sl

#endif
1 change: 0 additions & 1 deletion include/nn/sl/details/IAccountInfoAccessorDetails.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/sl_cpp.h>
#include <wut.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/details/IPreferentialTitleAccessorDetails.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/sl_cpp.h>
#include <wut.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/details/ISerializerDetails.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <wut.h>

Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/details/ISettingAccessorDetails.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/sl_cpp.h>
#include <wut.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/details/ITimeAccessorDetails.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <coreinit/time.h>
#include <memory>
#include <nn/result.h>
#include <wut.h>

Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/details/ITitleIconCacheDetails.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/sl_cpp.h>
#include <wut.h>
Expand Down
1 change: 0 additions & 1 deletion include/nn/sl/details/ITransferrerDetails.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <memory>
#include <nn/result.h>
#include <nn/sl/sl_cpp.h>
#include <wut.h>
Expand Down

0 comments on commit 316ceea

Please sign in to comment.