Explorar o código

add DcContext getConnectivity() to wrapper

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
72368a4886
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      DcCore/DcCore/DC/Wrapper.swift

+ 4 - 0
DcCore/DcCore/DC/Wrapper.swift

@@ -319,6 +319,10 @@ public class DcContext {
         return "ErrGetContactEncrInfo"
     }
 
+    public func getConnectivity() -> Int32 {
+        return dc_get_connectivity(contextPointer)
+    }
+
     public func setStockTranslation(id: Int32, localizationKey: String) {
         dc_set_stock_translation(contextPointer, UInt32(id), String.localized(localizationKey))
     }