#include <embedder_resources.h>
Public Member Functions | |
| EmbedderResources (runtime::ResourcesEntry *resources_table) | |
| int | ResourceLookup (const char *path, const char **resource) |
| const char * | Path (int idx) |
Static Public Attributes | |
| static const int | kNoSuchInstance = -1 |
Definition at line 22 of file embedder_resources.h.
|
explicit |
Definition at line 15 of file embedder_resources.cc.
| const char * flutter::EmbedderResources::Path | ( | int | idx | ) |
Definition at line 32 of file embedder_resources.cc.
References FML_DCHECK, and flutter::runtime::ResourcesEntry::path_.
| int flutter::EmbedderResources::ResourceLookup | ( | const char * | path, |
| const char ** | resource | ||
| ) |
Definition at line 20 of file embedder_resources.cc.
References FML_DCHECK, i, kNoSuchInstance, flutter::runtime::ResourcesEntry::length_, flutter::path, flutter::runtime::ResourcesEntry::path_, and flutter::runtime::ResourcesEntry::resource_.
|
static |
Definition at line 26 of file embedder_resources.h.
Referenced by ResourceLookup().