mirror of https://github.com/status-im/nimqml.git
feat: installSelfSignedCertificate
This commit is contained in:
parent
fea98f226c
commit
eb20a5ffb9
|
@ -142,6 +142,8 @@ proc dos_qguiapplication_installEventFilter(engine: DosStatusEvent) {.cdecl, dyn
|
|||
proc dos_qguiapplication_clipboard_setImage(content: cstring) {.cdecl, dynlib: dynLibName, importc.}
|
||||
proc dos_qguiapplication_download_image(imageSource: cstring, filePath: cstring) {.cdecl, dynlib: dynLibName, importc.}
|
||||
|
||||
proc dos_add_self_signed_certificate(content: cstring) {.cdecl, dynlib: dynLibName, importc.}
|
||||
|
||||
# QQmlContext
|
||||
proc dos_qqmlcontext_setcontextproperty(context: DosQQmlContext, propertyName: cstring, propertyValue: DosQVariant) {.cdecl, dynlib: dynLibName, importc.}
|
||||
|
||||
|
|
|
@ -17,6 +17,9 @@ proc icon*(application: QApplication, filename: string) =
|
|||
proc setClipboardText*(text: string = "") =
|
||||
dos_qapplication_clipboard_setText(text.cstring)
|
||||
|
||||
proc installSelfSignedCertificate*(certificate: string) =
|
||||
dos_add_self_signed_certificate(certificate.cstring)
|
||||
|
||||
proc installEventFilter*(application: QApplication, event: StatusEvent) =
|
||||
dos_qapplication_installEventFilter(event.vptr)
|
||||
|
||||
|
|
|
@ -35,6 +35,9 @@ proc quit*(self: QGuiApplication) =
|
|||
proc setClipboardText*(text: string = "") =
|
||||
dos_qguiapplication_clipboard_setText(text.cstring)
|
||||
|
||||
proc installSelfSignedCertificate*(certificate: string) =
|
||||
dos_add_self_signed_certificate(certificate.cstring)
|
||||
|
||||
proc setClipboardImage*(text: string = "") =
|
||||
dos_qguiapplication_clipboard_setImage(text.cstring)
|
||||
|
||||
|
|
Loading…
Reference in New Issue