Authenticates via the FxA OAuth flow (borrowing Firefox for Android's public client id) in an embedded, off-the-record Qt6 WebEngine view, decrypts the Sync 1.5 crypto/keys envelope, and dumps bookmarks as JSON. Packaged as a flatpak (org.mozsync.App.yml) against io.qt.qtwebengine.BaseApp. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
39 lines
903 B
C++
39 lines
903 B
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QBASICTIMER_H
|
|
#define MIQT_QT6_GEN_QBASICTIMER_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QBasicTimer;
|
|
class QObject;
|
|
#else
|
|
typedef struct QBasicTimer QBasicTimer;
|
|
typedef struct QObject QObject;
|
|
#endif
|
|
|
|
QBasicTimer* QBasicTimer_new();
|
|
void QBasicTimer_swap(QBasicTimer* self, QBasicTimer* other);
|
|
bool QBasicTimer_isActive(const QBasicTimer* self);
|
|
int QBasicTimer_timerId(const QBasicTimer* self);
|
|
void QBasicTimer_start(QBasicTimer* self, int msec, QObject* obj);
|
|
void QBasicTimer_start2(QBasicTimer* self, int msec, int timerType, QObject* obj);
|
|
void QBasicTimer_stop(QBasicTimer* self);
|
|
|
|
void QBasicTimer_delete(QBasicTimer* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|