remove comment

This commit is contained in:
dranik
2026-05-18 18:05:06 +03:00
parent d8668742b4
commit d6c34b3f60
13 changed files with 10 additions and 91 deletions
-1
View File
@@ -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()>;