remove lib file

This commit is contained in:
Iuri Matias 2020-05-21 12:21:20 -04:00
parent ce236fbc82
commit 15b32ddd5a
2 changed files with 0 additions and 53 deletions

View File

@ -21,7 +21,6 @@ import status/types as types
import status/wallet as status_wallet
import status/libstatus
import state
import status/libstatusqml
import status/types
import eventemitter
import os
@ -75,7 +74,6 @@ proc mainProc() =
engine.setRootContextProperty("nodeModel", node.variant)
var onboarding = onboarding.newController(events)
onboarding.init()
engine.setRootContextProperty("onboardingLogic", onboarding.variant)

View File

@ -1,51 +0,0 @@
import NimQml
import libstatus
import utils
QtObject:
type
LibStatusQml* = ref object of QObject
# ¯\_(ツ)_/¯ dunno what is this
proc setup(self: LibStatusQml) =
self.QObject.setup
# ¯\_(ツ)_/¯ seems to be a method for garbage collection
proc delete*(self: LibStatusQml) =
self.QObject.delete
# Constructor
proc newLibStatusQml*(): LibStatusQml =
new(result, delete)
result.setup
proc hashMessage*(self: LibStatusQml, p0: string): string {.slot.} =
return $libstatus.hashMessage(p0)
proc initKeystore*(self: LibStatusQml, keydir: string): string {.slot.} =
return $libstatus.initKeystore(keydir)
proc openAccounts*(self: LibStatusQml, datadir: string): string {.slot.} =
return $libstatus.openAccounts(datadir)
proc multiAccountGenerateAndDeriveAddresses*(self: LibStatusQml, paramsJSON: string): string {.slot.} =
return $libstatus.multiAccountGenerateAndDeriveAddresses(paramsJSON)
proc multiAccountStoreDerivedAccounts*(self: LibStatusQml, paramsJSON: string): string {.slot.} =
return $libstatus.multiAccountStoreDerivedAccounts(paramsJSON)
proc saveAccountAndLogin*(self: LibStatusQml, accountData: string, password: string, settingsJSON: string, configJSON: string, subaccountData: string): string {.slot.} =
return $libstatus.saveAccountAndLogin(accountData, password, settingsJSON, configJSON, subaccountData)
proc callRPC*(self: LibStatusQml, inputJSON: string): string {.slot.} =
return $libstatus.callRPC(inputJSON)
proc callPrivateRPC*(self: LibStatusQml, inputJSON: string): string {.slot.} =
return $libstatus.callPrivateRPC(inputJSON)
proc addPeer*(self: LibStatusQml, peer: string): string {.slot.} =
return $libstatus.addPeer(peer)
proc generateAlias*(self: LibStatusQml, p0: string): string {.slot.} =
return $libstatus.generateAlias(p0.toGoString)