energy/cef/cef-callback.go
2023-03-13 17:09:09 +08:00

27 lines
598 B
Go

//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under Apache License Version 2.0, January 2004
//
// https://www.apache.org/licenses/LICENSE-2.0
//
//----------------------------------------
// CEF 回调事件实现
package cef
import (
"github.com/energye/energy/common/imports"
)
// Cont 继续执行
func (m *ICefCallback) Cont() {
imports.Proc(internale_cefCallback_Cont).Call(uintptr(m.instance))
}
// Cancel 取消执行
func (m *ICefCallback) Cancel() {
imports.Proc(internale_cefCallback_Cancel).Call(uintptr(m.instance))
}