Skip to content

Commit

Permalink
chore: remove some internal functions from api header
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Jan 5, 2025
1 parent 3b25e13 commit 1719578
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions src-client/ll/core/main_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
#include "windows.h"

namespace ll {

void setGamingStatus(GamingStatus);

namespace i18n {
std::string& defaultLocaleCode();
}

void leviLaminaMain() {
error_utils::initExceptionTranslator();

Expand Down
6 changes: 6 additions & 0 deletions src-server/ll/core/main_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ void unixSignalHandler(int signum) {
}
}

void setGamingStatus(GamingStatus);

namespace i18n {
std::string& defaultLocaleCode();
}

void leviLaminaMain() {
error_utils::initExceptionTranslator();

Expand Down
2 changes: 0 additions & 2 deletions src/ll/api/i18n/I18n.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

namespace ll::i18n {

std::string& defaultLocaleCode();

LLNDAPI std::string_view getDefaultLocaleCode();

class I18n {
Expand Down
2 changes: 0 additions & 2 deletions src/ll/api/service/GamingStatus.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ enum class GamingStatus : int {

LLNDAPI GamingStatus getGamingStatus();

void setGamingStatus(GamingStatus);

} // namespace ll

0 comments on commit 1719578

Please sign in to comment.