| // Copyright 2013 The Flutter Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef FLUTTER_RUNTIME_EMBEDDER_RESOURCES_H_ |
| #define FLUTTER_RUNTIME_EMBEDDER_RESOURCES_H_ |
| class EmbedderResources { |
| explicit EmbedderResources(runtime::ResourcesEntry* resources_table); |
| static const int kNoSuchInstance; |
| int ResourceLookup(const char* path, const char** resource); |
| const char* Path(int idx); |
| runtime::ResourcesEntry* At(int idx); |
| runtime::ResourcesEntry* resources_table_; |
| #endif // FLUTTER_RUNTIME_EMBEDDER_RESOURCES_H_ |