Skip to content

Commit

Permalink
[resource_manager] import into namespace le
Browse files Browse the repository at this point in the history
import resource manager into le:: namespace -- this allows for a more
unified interface
  • Loading branch information
tgfrerer committed Oct 17, 2024
1 parent 361abe2 commit 20b9271
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct screenshot_example_app_o {
le_texture_handle map_texture;
bool hide_help_text = false;
bool hide_grid = false;
LeResourceManager resource_manager;
le::ResourceManager resource_manager;

le_screenshot_o* screen_grabber; // Object to easily save screenshots
};
Expand Down
4 changes: 4 additions & 0 deletions modules/le_resource_manager/le_resource_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ class LeResourceManager : NoCopy, NoMove {
}
};

namespace le {
using ResourceManager = LeResourceManager;
}

#endif // __cplusplus

#endif

0 comments on commit 20b9271

Please sign in to comment.