guardia-messenger/node_modules/react-native-screens/cpp/RNScreensTurboModule.h
DESKTOP-TKLFCPRython f29f525c77 refactor: 101.79.17.164 → zioinfo.co.kr 전체 도메인 변환 + Manager UI 배포
- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스)
- Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포
- 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 10:09:17 +09:00

44 lines
1.4 KiB
C++

#include <array>
#include <jsi/jsi.h>
#define JSI_HOST_FUNCTION(NAME) \
jsi::Value NAME( \
jsi::Runtime &rt, \
const jsi::Value &thisValue, \
const jsi::Value *arguments, \
size_t count \
)
using namespace facebook;
namespace RNScreens {
class RNScreensTurboModule : public jsi::HostObject {
static std::function<std::array<int, 2>(int)> startTransition_;
static std::function<void(int, double)> updateTransition_;
static std::function<void(int, bool)> finishTransition_;
static std::function<void(int)> disableSwipeBackForTopScreen_;
public:
static const char MODULE_NAME[];
RNScreensTurboModule(
std::function<std::array<int, 2>(int)> startTransition,
std::function<void(int, double)> updateTransition,
std::function<void(int, bool)> finishTransition,
std::function<void(int)> disableSwipeBackForTopScreen
);
~RNScreensTurboModule() override;
jsi::Value get(jsi::Runtime& rt, const jsi::PropNameID& name) override;
void set(jsi::Runtime&, const jsi::PropNameID&, const jsi::Value&) override;
std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime& rt) override;
static JSI_HOST_FUNCTION(startTransition);
static JSI_HOST_FUNCTION(updateTransition);
static JSI_HOST_FUNCTION(finishTransition);
static JSI_HOST_FUNCTION(disableSwipeBackForTopScreen);
};
}