github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/mediaplayerprivate/bindings/import_wasm.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build wasm 5 6 package bindings 7 8 import ( 9 "unsafe" 10 11 "github.com/primecitizens/pcz/std/ffi/js" 12 ) 13 14 type ( 15 _ unsafe.Pointer 16 _ js.Ref 17 ) 18 19 //go:wasmimport plat/js/webext/mediaplayerprivate has_OnNextTrack 20 //go:noescape 21 func HasFuncOnNextTrack() js.Ref 22 23 //go:wasmimport plat/js/webext/mediaplayerprivate func_OnNextTrack 24 //go:noescape 25 func FuncOnNextTrack(fn unsafe.Pointer) 26 27 //go:wasmimport plat/js/webext/mediaplayerprivate call_OnNextTrack 28 //go:noescape 29 func CallOnNextTrack( 30 retPtr unsafe.Pointer, 31 callback js.Ref) 32 33 //go:wasmimport plat/js/webext/mediaplayerprivate try_OnNextTrack 34 //go:noescape 35 func TryOnNextTrack( 36 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 37 callback js.Ref) (ok js.Ref) 38 39 //go:wasmimport plat/js/webext/mediaplayerprivate has_OffNextTrack 40 //go:noescape 41 func HasFuncOffNextTrack() js.Ref 42 43 //go:wasmimport plat/js/webext/mediaplayerprivate func_OffNextTrack 44 //go:noescape 45 func FuncOffNextTrack(fn unsafe.Pointer) 46 47 //go:wasmimport plat/js/webext/mediaplayerprivate call_OffNextTrack 48 //go:noescape 49 func CallOffNextTrack( 50 retPtr unsafe.Pointer, 51 callback js.Ref) 52 53 //go:wasmimport plat/js/webext/mediaplayerprivate try_OffNextTrack 54 //go:noescape 55 func TryOffNextTrack( 56 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 57 callback js.Ref) (ok js.Ref) 58 59 //go:wasmimport plat/js/webext/mediaplayerprivate has_HasOnNextTrack 60 //go:noescape 61 func HasFuncHasOnNextTrack() js.Ref 62 63 //go:wasmimport plat/js/webext/mediaplayerprivate func_HasOnNextTrack 64 //go:noescape 65 func FuncHasOnNextTrack(fn unsafe.Pointer) 66 67 //go:wasmimport plat/js/webext/mediaplayerprivate call_HasOnNextTrack 68 //go:noescape 69 func CallHasOnNextTrack( 70 retPtr unsafe.Pointer, 71 callback js.Ref) 72 73 //go:wasmimport plat/js/webext/mediaplayerprivate try_HasOnNextTrack 74 //go:noescape 75 func TryHasOnNextTrack( 76 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 77 callback js.Ref) (ok js.Ref) 78 79 //go:wasmimport plat/js/webext/mediaplayerprivate has_OnPrevTrack 80 //go:noescape 81 func HasFuncOnPrevTrack() js.Ref 82 83 //go:wasmimport plat/js/webext/mediaplayerprivate func_OnPrevTrack 84 //go:noescape 85 func FuncOnPrevTrack(fn unsafe.Pointer) 86 87 //go:wasmimport plat/js/webext/mediaplayerprivate call_OnPrevTrack 88 //go:noescape 89 func CallOnPrevTrack( 90 retPtr unsafe.Pointer, 91 callback js.Ref) 92 93 //go:wasmimport plat/js/webext/mediaplayerprivate try_OnPrevTrack 94 //go:noescape 95 func TryOnPrevTrack( 96 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 97 callback js.Ref) (ok js.Ref) 98 99 //go:wasmimport plat/js/webext/mediaplayerprivate has_OffPrevTrack 100 //go:noescape 101 func HasFuncOffPrevTrack() js.Ref 102 103 //go:wasmimport plat/js/webext/mediaplayerprivate func_OffPrevTrack 104 //go:noescape 105 func FuncOffPrevTrack(fn unsafe.Pointer) 106 107 //go:wasmimport plat/js/webext/mediaplayerprivate call_OffPrevTrack 108 //go:noescape 109 func CallOffPrevTrack( 110 retPtr unsafe.Pointer, 111 callback js.Ref) 112 113 //go:wasmimport plat/js/webext/mediaplayerprivate try_OffPrevTrack 114 //go:noescape 115 func TryOffPrevTrack( 116 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 117 callback js.Ref) (ok js.Ref) 118 119 //go:wasmimport plat/js/webext/mediaplayerprivate has_HasOnPrevTrack 120 //go:noescape 121 func HasFuncHasOnPrevTrack() js.Ref 122 123 //go:wasmimport plat/js/webext/mediaplayerprivate func_HasOnPrevTrack 124 //go:noescape 125 func FuncHasOnPrevTrack(fn unsafe.Pointer) 126 127 //go:wasmimport plat/js/webext/mediaplayerprivate call_HasOnPrevTrack 128 //go:noescape 129 func CallHasOnPrevTrack( 130 retPtr unsafe.Pointer, 131 callback js.Ref) 132 133 //go:wasmimport plat/js/webext/mediaplayerprivate try_HasOnPrevTrack 134 //go:noescape 135 func TryHasOnPrevTrack( 136 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 137 callback js.Ref) (ok js.Ref) 138 139 //go:wasmimport plat/js/webext/mediaplayerprivate has_OnTogglePlayState 140 //go:noescape 141 func HasFuncOnTogglePlayState() js.Ref 142 143 //go:wasmimport plat/js/webext/mediaplayerprivate func_OnTogglePlayState 144 //go:noescape 145 func FuncOnTogglePlayState(fn unsafe.Pointer) 146 147 //go:wasmimport plat/js/webext/mediaplayerprivate call_OnTogglePlayState 148 //go:noescape 149 func CallOnTogglePlayState( 150 retPtr unsafe.Pointer, 151 callback js.Ref) 152 153 //go:wasmimport plat/js/webext/mediaplayerprivate try_OnTogglePlayState 154 //go:noescape 155 func TryOnTogglePlayState( 156 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 157 callback js.Ref) (ok js.Ref) 158 159 //go:wasmimport plat/js/webext/mediaplayerprivate has_OffTogglePlayState 160 //go:noescape 161 func HasFuncOffTogglePlayState() js.Ref 162 163 //go:wasmimport plat/js/webext/mediaplayerprivate func_OffTogglePlayState 164 //go:noescape 165 func FuncOffTogglePlayState(fn unsafe.Pointer) 166 167 //go:wasmimport plat/js/webext/mediaplayerprivate call_OffTogglePlayState 168 //go:noescape 169 func CallOffTogglePlayState( 170 retPtr unsafe.Pointer, 171 callback js.Ref) 172 173 //go:wasmimport plat/js/webext/mediaplayerprivate try_OffTogglePlayState 174 //go:noescape 175 func TryOffTogglePlayState( 176 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 177 callback js.Ref) (ok js.Ref) 178 179 //go:wasmimport plat/js/webext/mediaplayerprivate has_HasOnTogglePlayState 180 //go:noescape 181 func HasFuncHasOnTogglePlayState() js.Ref 182 183 //go:wasmimport plat/js/webext/mediaplayerprivate func_HasOnTogglePlayState 184 //go:noescape 185 func FuncHasOnTogglePlayState(fn unsafe.Pointer) 186 187 //go:wasmimport plat/js/webext/mediaplayerprivate call_HasOnTogglePlayState 188 //go:noescape 189 func CallHasOnTogglePlayState( 190 retPtr unsafe.Pointer, 191 callback js.Ref) 192 193 //go:wasmimport plat/js/webext/mediaplayerprivate try_HasOnTogglePlayState 194 //go:noescape 195 func TryHasOnTogglePlayState( 196 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 197 callback js.Ref) (ok js.Ref)