mirror of https://github.com/status-im/nimqml.git
feat: export to local file
This commit is contained in:
parent
b67014a56a
commit
a431a8bb75
|
@ -60,3 +60,6 @@ proc url_host*(host: string): string =
|
|||
|
||||
proc url_replaceHostAndAddPath*(url: string, newHost: string, protocol: string = "", pathPrefix: string = ""): string =
|
||||
result = $(dos_qurl_replaceHostAndAddPath(url.cstring, protocol.cstring, newHost.cstring, pathPrefix.cstring))
|
||||
|
||||
proc url_toLocalFile*(url: string): string =
|
||||
result = $(dos_to_local_file(url.cstring))
|
|
@ -355,3 +355,5 @@ proc dos_statusosnotification_show_notification(vptr: DosStatusOSNotificationObj
|
|||
{.cdecl, dynlib: dynLibName, importc.}
|
||||
proc dos_statusosnotification_delete(vptr: DosStatusOSNotificationObject)
|
||||
{.cdecl, dynlib: dynLibName, importc.}
|
||||
|
||||
proc dos_to_local_file(filpath: cstring): cstring {.cdecl, dynlib: dynLibName, importc.}
|
Loading…
Reference in New Issue