PARAM增加namespace

Signed-off-by: w00675913 <wangjin193@huawei.com>
This commit is contained in:
w00675913 2023-10-31 17:08:44 +08:00 committed by j00605391
parent 2ba95b7a51
commit 0ef6039268
3 changed files with 5 additions and 3 deletions

View File

@ -335,6 +335,9 @@ enum AccessibilityWindowType : int32_t {
TYPE_SYSTEM = 0x00000010,
};
constexpr int32_t PARAM0 = 0;
constexpr int32_t PARAM1 = 1;
constexpr int32_t PARAM2 = 2;
} // namespace Accessibility
} // namespace OHOS
@ -345,9 +348,6 @@ constexpr size_t ARGS_SIZE_TWO = 2;
constexpr size_t ARGS_SIZE_THREE = 3;
constexpr size_t ARGS_SIZE_FOUR = 4;
constexpr int32_t DEFAULT_INT32 = 0;
constexpr int32_t PARAM0 = 0;
constexpr int32_t PARAM1 = 1;
constexpr int32_t PARAM2 = 2;
constexpr int32_t CODE_SUCCESS = 0;
constexpr int32_t CODE_FAILED = -1;
constexpr int32_t CHAE_BUFFER_MAX = 1024;

View File

@ -18,6 +18,7 @@
#include "hilog_wrapper.h"
using namespace OHOS;
using namespace OHOS::Accessibility;
napi_value NAccessibilityGesturePath::JSConstructor(napi_env env, napi_callback_info info)
{

View File

@ -18,6 +18,7 @@
#include "hilog_wrapper.h"
using namespace OHOS;
using namespace OHOS::Accessibility;
napi_value NAccessibilityGesturePoint::JSConstructor(napi_env env, napi_callback_info info)
{