finish removing unused code (getACNEvents, getContactEvents, getRepaintEvent, SelectProfile
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
d921612d25
commit
00c5412551
11
lib.go
11
lib.go
|
@ -341,17 +341,6 @@ func c_CreateProfile(nick_ptr *C.char, nick_len C.int, pass_ptr *C.char, pass_le
|
||||||
func CreateProfile(nick, pass string) {
|
func CreateProfile(nick, pass string) {
|
||||||
application.CreatePeer(nick, pass)
|
application.CreatePeer(nick, pass)
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
//export c_SelectProfile
|
|
||||||
func c_SelectProfile(onion_ptr *C.char, onion_len C.int) *C.char {
|
|
||||||
return C.CString(SelectProfile(C.GoStringN(onion_ptr, onion_len)))
|
|
||||||
}
|
|
||||||
|
|
||||||
func SelectProfile(onion string) string {
|
|
||||||
contactEventsQueue = event.NewQueue()
|
|
||||||
application.GetEventBus(onion).Subscribe(event.PeerStateChange, contactEventsQueue)
|
|
||||||
return ""
|
|
||||||
}*/
|
|
||||||
|
|
||||||
//export c_LoadProfiles
|
//export c_LoadProfiles
|
||||||
func c_LoadProfiles(passwordPtr *C.char, passwordLen C.int) {
|
func c_LoadProfiles(passwordPtr *C.char, passwordLen C.int) {
|
||||||
|
|
Loading…
Reference in New Issue