Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qiosfileengineassetslibrary.mm File Reference

(ceeaf1b65787d3ef46dd0bdbd0e6810137163fea)

#include "qiosfileengineassetslibrary.h"
import <UIKit/UIKit.h>
import <AssetsLibrary/AssetsLibrary.h>
#include <QtCore/QTimer>
#include <QtCore/private/qcoreapplication_p.h>
#include <QtCore/qurl.h>
#include <QtCore/qset.h>
#include <QtCore/qthreadstorage.h>
#include <QtCore/qfileselector.h>
#include <QtCore/qpointer.h>
+ Include dependency graph for qiosfileengineassetslibrary.mm:

Go to the source code of this file.

Classes

class  QIOSAssetEnumerator
 
class  QIOSAssetData
 
class  QIOSFileEngineIteratorAssetsLibrary
 

Functions

static bool ensureAuthorizationDialogNotBlocked ()
 

Variables

static QThreadStorage< QStringg_iteratorCurrentUrl
 
static QThreadStorage< QPointer< QIOSAssetData > > g_assetDataCache
 
static const int kBufferSize = 10
 
static ALAsset * kNoAsset = nullptr
 

Function Documentation

◆ ensureAuthorizationDialogNotBlocked()

static bool ensureAuthorizationDialogNotBlocked ( )
static

Definition at line 27 of file qiosfileengineassetslibrary.mm.

References QEventLoop::exec(), QObjectPrivate::get(), qApp, QEventLoop::quit(), and QTimer::singleShot.

Referenced by QIOSAssetData::QIOSAssetData(), and QIOSAssetEnumerator::QIOSAssetEnumerator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ g_assetDataCache

◆ g_iteratorCurrentUrl

QThreadStorage<QString> g_iteratorCurrentUrl
static

◆ kBufferSize

const int kBufferSize = 10
static

Definition at line 24 of file qiosfileengineassetslibrary.mm.

Referenced by QIOSAssetEnumerator::next().

◆ kNoAsset

ALAsset* kNoAsset = nullptr
static