cutego/location/qgeocodingmanagerengine.go

39 lines
884 B
Go
Raw Normal View History

2015-10-24 18:18:24 +03:00
package location
//#include "location.h"
2015-10-24 18:18:24 +03:00
import "C"
import (
"github.com/therecipe/qt"
"github.com/therecipe/qt/core"
"unsafe"
)
type QGeoCodingManagerEngine struct {
core.QObject
}
2015-11-09 20:23:42 +03:00
type QGeoCodingManagerEngine_ITF interface {
core.QObject_ITF
QGeoCodingManagerEngine_PTR() *QGeoCodingManagerEngine
2015-10-24 18:18:24 +03:00
}
2015-11-09 20:23:42 +03:00
func PointerFromQGeoCodingManagerEngine(ptr QGeoCodingManagerEngine_ITF) unsafe.Pointer {
2015-10-24 18:18:24 +03:00
if ptr != nil {
2015-11-09 20:23:42 +03:00
return ptr.QGeoCodingManagerEngine_PTR().Pointer()
2015-10-24 18:18:24 +03:00
}
return nil
}
2015-11-09 20:23:42 +03:00
func NewQGeoCodingManagerEngineFromPointer(ptr unsafe.Pointer) *QGeoCodingManagerEngine {
2015-10-24 18:18:24 +03:00
var n = new(QGeoCodingManagerEngine)
n.SetPointer(ptr)
for len(n.ObjectName()) < len("QGeoCodingManagerEngine_") {
n.SetObjectName("QGeoCodingManagerEngine_" + qt.Identifier())
2015-10-24 18:18:24 +03:00
}
return n
}
2015-11-09 20:23:42 +03:00
func (ptr *QGeoCodingManagerEngine) QGeoCodingManagerEngine_PTR() *QGeoCodingManagerEngine {
2015-10-24 18:18:24 +03:00
return ptr
}