2022-10-04 13:21:05 +08:00
|
|
|
//----------------------------------------
|
|
|
|
//
|
|
|
|
// Copyright © yanghy. All Rights Reserved.
|
|
|
|
//
|
2023-02-19 23:21:47 +08:00
|
|
|
// Licensed under Apache License Version 2.0, January 2004
|
|
|
|
//
|
|
|
|
// https://www.apache.org/licenses/LICENSE-2.0
|
2022-10-04 13:21:05 +08:00
|
|
|
//
|
|
|
|
//----------------------------------------
|
|
|
|
|
2023-02-20 00:20:01 +08:00
|
|
|
// CEF 回调事件实现
|
2022-10-04 13:21:05 +08:00
|
|
|
package cef
|
|
|
|
|
2022-10-04 22:34:57 +08:00
|
|
|
import (
|
2023-02-13 21:25:35 +08:00
|
|
|
"github.com/energye/energy/common/imports"
|
2022-10-04 22:34:57 +08:00
|
|
|
)
|
2022-10-04 13:21:05 +08:00
|
|
|
|
2023-02-20 00:20:01 +08:00
|
|
|
// Cont 继续执行
|
2022-10-04 13:21:05 +08:00
|
|
|
func (m *ICefCallback) Cont() {
|
2023-02-13 21:25:35 +08:00
|
|
|
imports.Proc(internale_cefCallback_Cont).Call(uintptr(m.instance))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
2023-02-20 00:20:01 +08:00
|
|
|
// Cancel 取消执行
|
2022-10-04 13:21:05 +08:00
|
|
|
func (m *ICefCallback) Cancel() {
|
2023-02-13 21:25:35 +08:00
|
|
|
imports.Proc(internale_cefCallback_Cancel).Call(uintptr(m.instance))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|