mozsync/vendor/github.com/mappu/miqt/qt6/gen_qbindingstorage.cpp
Philip Peterson 3dbad35769 Initial commit: mozsync, a CLI to export bookmarks from Firefox Sync
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>
2026-09-30 02:16:21 -08:00

47 lines
1,016 B
C++

#include <QBindingStatus>
#include <QBindingStorage>
#include <QUntypedPropertyData>
#include <qbindingstorage.h>
#include "gen_qbindingstorage.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#endif
void* QBindingStatus_threadId(const QBindingStatus* self) {
Qt::HANDLE threadId_ret = self->threadId;
return static_cast<void*>(threadId_ret);
}
void QBindingStatus_setThreadId(QBindingStatus* self, void* threadId) {
self->threadId = threadId;
}
void QBindingStatus_delete(QBindingStatus* self) {
delete self;
}
QBindingStorage* QBindingStorage_new() {
return new (std::nothrow) QBindingStorage();
}
bool QBindingStorage_isEmpty(QBindingStorage* self) {
return self->isEmpty();
}
bool QBindingStorage_isValid(const QBindingStorage* self) {
return self->isValid();
}
void QBindingStorage_registerDependency(const QBindingStorage* self, QUntypedPropertyData* data) {
self->registerDependency(data);
}
void QBindingStorage_delete(QBindingStorage* self) {
delete self;
}