Refactor AndroidUtils
This commit is contained in:
parent
e8cc80f046
commit
a961932b2e
10 changed files with 60 additions and 269 deletions
|
@ -18,7 +18,8 @@ public:
|
|||
bool initialize();
|
||||
|
||||
// keep synchronized with org.amnezia.vpn.protocol.ProtocolState
|
||||
enum class ConnectionState {
|
||||
enum class ConnectionState
|
||||
{
|
||||
CONNECTED,
|
||||
CONNECTING,
|
||||
DISCONNECTED,
|
||||
|
@ -30,7 +31,7 @@ public:
|
|||
ErrorCode start(const QJsonObject &vpnConfig);
|
||||
void stop();
|
||||
void setNotificationText(const QString &title, const QString &message, int timerSec);
|
||||
void saveFile(const QString& fileName, const QString &data);
|
||||
void saveFile(const QString &fileName, const QString &data);
|
||||
QString openFile(const QString &filter);
|
||||
void startQrReaderActivity();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue