2015-10-24 18:18:24 +03:00
|
|
|
package location
|
|
|
|
|
2015-12-06 02:56:16 +03:00
|
|
|
//#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)
|
2015-12-06 02:56:16 +03:00
|
|
|
for len(n.ObjectName()) < len("QGeoCodingManagerEngine_") {
|
2015-12-15 04:01:51 +03:00
|
|
|
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
|
|
|
|
}
|