File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -788,10 +788,10 @@ packages:
788788 dependency: transitive
789789 description:
790790 name: meta
791- sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
791+ sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
792792 url: "https://pub.dev"
793793 source: hosted
794- version: "1.16 .0"
794+ version: "1.17 .0"
795795 mime:
796796 dependency: transitive
797797 description:
@@ -1225,10 +1225,10 @@ packages:
12251225 dependency: transitive
12261226 description:
12271227 name: test_api
1228- sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
1228+ sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
12291229 url: "https://pub.dev"
12301230 source: hosted
1231- version: "0.7.6 "
1231+ version: "0.7.7 "
12321232 timing:
12331233 dependency: transitive
12341234 description:
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ bool DXCoreBridge::Load() {
5151 ok &= load (pSetTimeZone_, " WinSetTimeZone" );
5252 ok &= load (pGetFlowLine_, " WinGetFlowLine" );
5353 ok &= load (pGetCachedFlowLine_, " WinGetCachedFlowLine" );
54- ok &= load (pSetConnectionMethod_, " WinSetConnectionMethod" );
54+ // ok &= load(pSetConnectionMethod_, "WinSetConnectionMethod");
5555 ok &= load (pFreeString_, " WinFreeString" );
5656 ok &= load (pSetSystemProxy_, " WinSetSystemProxy" );
5757 ok &= load (pResetSystemProxy_, " WinResetSystemProxy" );
@@ -123,9 +123,9 @@ std::string DXCoreBridge::GetCachedFlowLine() {
123123 return out;
124124}
125125
126- void DXCoreBridge::SetConnectionMethod (const std::string& method) {
127- if (pSetConnectionMethod_) pSetConnectionMethod_ (method.c_str ());
128- }
126+ // void DXCoreBridge::SetConnectionMethod(const std::string& method) {
127+ // if (pSetConnectionMethod_) pSetConnectionMethod_(method.c_str());
128+ // }
129129
130130int DXCoreBridge::SetSystemProxy () {
131131 return pSetSystemProxy_ ? pSetSystemProxy_ () : 0 ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class DXCoreBridge {
4747 using WinSetTimeZone_t = int (*)(float );
4848 using WinGetFlowLine_t = const char * (*)(int );
4949 using WinGetCachedFlowLine_t = const char * (*)();
50- using WinSetConnectionMethod_t = void (*)(const char *);
50+ // using WinSetConnectionMethod_t = void (*)(const char*);
5151 using WinFreeString_t = void (*)(char *);
5252 using WinSetSystemProxy_t = int (*)();
5353 using WinResetSystemProxy_t = int (*)();
@@ -62,7 +62,7 @@ class DXCoreBridge {
6262 WinSetTimeZone_t pSetTimeZone_ = nullptr ;
6363 WinGetFlowLine_t pGetFlowLine_ = nullptr ;
6464 WinGetCachedFlowLine_t pGetCachedFlowLine_ = nullptr ;
65- WinSetConnectionMethod_t pSetConnectionMethod_ = nullptr ;
65+ // WinSetConnectionMethod_t pSetConnectionMethod_ = nullptr;
6666 WinFreeString_t pFreeString_ = nullptr ;
6767 WinSetSystemProxy_t pSetSystemProxy_ = nullptr ;
6868 WinResetSystemProxy_t pResetSystemProxy_ = nullptr ;
Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ void VPNChannelHandler::SetupMethodChannel() {
349349 auto m = std::get<flutter::EncodableMap>(*call.arguments ());
350350 auto method_name = get_string_arg (m, " method" );
351351 if (!method_name.empty ()) {
352- dxcore_->SetConnectionMethod (method_name);
352+ // dxcore_->SetConnectionMethod(method_name);
353353 result->Success (flutter::EncodableValue (true ));
354354 } else {
355355 result->Error (" INVALID_ARGUMENT" , " method is missing or empty" );
You can’t perform that action at this time.
0 commit comments