- 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>
51 lines
1.7 KiB
C++
51 lines
1.7 KiB
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#include "Touch.h"
|
|
|
|
namespace facebook::react {
|
|
|
|
void setTouchPayloadOnObject(
|
|
jsi::Object& object,
|
|
jsi::Runtime& runtime,
|
|
const BaseTouch& touch) {
|
|
object.setProperty(runtime, "locationX", touch.offsetPoint.x);
|
|
object.setProperty(runtime, "locationY", touch.offsetPoint.y);
|
|
object.setProperty(runtime, "pageX", touch.pagePoint.x);
|
|
object.setProperty(runtime, "pageY", touch.pagePoint.y);
|
|
object.setProperty(runtime, "screenX", touch.screenPoint.x);
|
|
object.setProperty(runtime, "screenY", touch.screenPoint.y);
|
|
object.setProperty(runtime, "identifier", touch.identifier);
|
|
object.setProperty(runtime, "target", touch.target);
|
|
object.setProperty(runtime, "timestamp", touch.timestamp * 1000);
|
|
object.setProperty(runtime, "force", touch.force);
|
|
}
|
|
|
|
#if RN_DEBUG_STRING_CONVERTIBLE
|
|
|
|
std::string getDebugName(const BaseTouch& /*touch*/) {
|
|
return "Touch";
|
|
}
|
|
|
|
std::vector<DebugStringConvertibleObject> getDebugProps(
|
|
const BaseTouch& touch,
|
|
DebugStringConvertibleOptions options) {
|
|
return {
|
|
{"pagePoint", getDebugDescription(touch.pagePoint, options)},
|
|
{"offsetPoint", getDebugDescription(touch.offsetPoint, options)},
|
|
{"screenPoint", getDebugDescription(touch.screenPoint, options)},
|
|
{"identifier", getDebugDescription(touch.identifier, options)},
|
|
{"target", getDebugDescription(touch.target, options)},
|
|
{"force", getDebugDescription(touch.force, options)},
|
|
{"timestamp", getDebugDescription(touch.timestamp, options)},
|
|
};
|
|
}
|
|
|
|
#endif
|
|
|
|
} // namespace facebook::react
|