energy/cef/cef-callback.go
杨红岩 03e3f74c7f 1. commons -> common
2. 增加内置资源http服务
2022-11-02 12:47:47 +08:00

28 lines
496 B
Go

//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under GNU General Public License v3.0
//
//----------------------------------------
package cef
import (
. "github.com/energye/energy/common"
"unsafe"
)
type ICefCallback struct {
instance uintptr
ptr unsafe.Pointer
}
func (m *ICefCallback) Cont() {
Proc("cefCallback_Cont").Call(m.instance)
}
func (m *ICefCallback) Cancel() {
Proc("cefCallback_Cancel").Call(m.instance)
}