WireGuard for MacOS (#248)
* WireGuard for MacOS * Fix openvpn block-outside-dns
This commit is contained in:
parent
ed5dc7cdfd
commit
35ecb8499d
118 changed files with 5150 additions and 3486 deletions
29
client/platforms/dummy/dummyapplistprovider.cpp
Normal file
29
client/platforms/dummy/dummyapplistprovider.cpp
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "dummyapplistprovider.h"
|
||||
|
||||
#include "leakdetector.h"
|
||||
|
||||
DummyAppListProvider::DummyAppListProvider(QObject* parent)
|
||||
: AppListProvider(parent) {
|
||||
MZ_COUNT_CTOR(DummyAppListProvider);
|
||||
}
|
||||
|
||||
DummyAppListProvider::~DummyAppListProvider() {
|
||||
MZ_COUNT_DTOR(DummyAppListProvider);
|
||||
}
|
||||
|
||||
void DummyAppListProvider::getApplicationList() {
|
||||
QMap<QString, QString> appList;
|
||||
appList["com.example.one"] = "a Example App 1";
|
||||
appList["com.example.two"] = "B Example App 2";
|
||||
appList["org.example.one"] = "c Example App 3";
|
||||
appList["org.example.two"] = "D Example App 4";
|
||||
appList["com.example.a"] = "e Example App 5";
|
||||
appList["com.example.b"] = "F Example App 6";
|
||||
appList["org.example.c"] = "g Example App 7";
|
||||
appList["org.example.d"] = "H Example App 8";
|
||||
emit newAppList(appList);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue