6
6
#ifndef KRAKENBRIDGE_FOUNDATION_UI_COMMAND_BUFFER_H_
7
7
#define KRAKENBRIDGE_FOUNDATION_UI_COMMAND_BUFFER_H_
8
8
9
- #include < vector>
10
9
#include < cinttypes>
11
- #include " native_value.h "
10
+ #include < vector >
12
11
#include " bindings/qjs/native_string.h"
12
+ #include " native_value.h"
13
13
14
14
namespace kraken {
15
15
@@ -31,15 +31,15 @@ enum UICommand {
31
31
32
32
struct UICommandItem {
33
33
UICommandItem (int32_t id, int32_t type, NativeString args_01, NativeString args_02, void * nativePtr)
34
- : type(type),
35
- string_01 (reinterpret_cast <int64_t >(args_01.string)),
36
- args_01_length(args_01.length),
37
- string_02(reinterpret_cast <int64_t >(args_02.string)),
38
- args_02_length(args_02.length),
39
- id(id),
40
- nativePtr(reinterpret_cast <int64_t >(nativePtr)){};
34
+ : type(type),
35
+ string_01 (reinterpret_cast <int64_t >(args_01.string)),
36
+ args_01_length(args_01.length),
37
+ string_02(reinterpret_cast <int64_t >(args_02.string)),
38
+ args_02_length(args_02.length),
39
+ id(id),
40
+ nativePtr(reinterpret_cast <int64_t >(nativePtr)){};
41
41
UICommandItem (int32_t id, int32_t type, NativeString args_01, void * nativePtr)
42
- : type(type), string_01(reinterpret_cast <int64_t >(args_01.string)), args_01_length(args_01.length), id(id), nativePtr(reinterpret_cast <int64_t >(nativePtr)){};
42
+ : type(type), string_01(reinterpret_cast <int64_t >(args_01.string)), args_01_length(args_01.length), id(id), nativePtr(reinterpret_cast <int64_t >(nativePtr)){};
43
43
UICommandItem (int32_t id, int32_t type, void * nativePtr) : type(type), id(id), nativePtr(reinterpret_cast <int64_t >(nativePtr)){};
44
44
int32_t type;
45
45
int32_t id;
0 commit comments