- 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>
44 lines
1.4 KiB
C++
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);
|
|
|
|
};
|
|
|
|
}
|