mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
remove comment
This commit is contained in:
@@ -17,7 +17,6 @@ public slots:
|
||||
void stopReading();
|
||||
void setCameraSize(QRect value);
|
||||
void setTorchEnabled(bool on);
|
||||
/// Called from AVFoundation delegate on the main queue; emits codeReaded.
|
||||
void notifyCodeRead(const QString &code);
|
||||
|
||||
signals:
|
||||
|
||||
@@ -7,16 +7,10 @@ bool amneziaIosPairingCameraAccessGranted();
|
||||
void amneziaIosRequestPairingCameraAccess(const std::function<void(bool)> &onDone);
|
||||
void amneziaIosOpenApplicationSettings();
|
||||
|
||||
/** When true, makes Qt's root UIView non-opaque so window-layer camera preview shows through transparent QML. */
|
||||
void amneziaIosApplyEmbeddedCameraUnderlayToQtView(bool enable);
|
||||
|
||||
/**
|
||||
* Extra height (points) added to the bottom native dim strip above UIKit safe-area bottom, when the Qt root view
|
||||
* fills the host (tab bar lives in QML). Typically set from QML scanDimBleedBottom. Pass 0 to clear.
|
||||
*/
|
||||
void amneziaIosSetPairingEmbeddedCameraNativeBottomExtraPt(int extraPt);
|
||||
|
||||
/** Call after AVCaptureVideoPreviewLayer is inserted on UIWindow so the window-layer mask stacks above it. */
|
||||
void amneziaIosPairingRelayoutChromeIfNeeded(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
/**
|
||||
* iOS-only: UIWindow + UIKit capture for API “send pairing” QR scan.
|
||||
* UTF-8 scan payload is valid only for the duration of the callback.
|
||||
*/
|
||||
using AmneziaPairingQrScannedUtf8Handler = std::function<void(const char *)>;
|
||||
using AmneziaPairingQrOverlayBackHandler = std::function<void()>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user