1
0
Fork 0
flightgear/src/Add-ons
Florent Rougon 5f50e25535 Add-ons: add method resourcePath() to addons.Addon ghosts
This method takes a string such as "this/is/a/relative/path" and returns
"[addon=ADDON_ID]this/is/a/relative/path", substituting the add-on
identifier for ADDON_ID.

This way, add-on authors don't even have to know the special syntax
'[addon=ADDON_ID]relative/path' used for add-on-specific resource paths,
and don't need to hardcode their add-on identifier inside each such path
either.
2018-01-10 01:25:50 +01:00
..
Addon.cxx Add-ons: add method resourcePath() to addons.Addon ghosts 2018-01-10 01:25:50 +01:00
Addon.hxx Add-ons: add method resourcePath() to addons.Addon ghosts 2018-01-10 01:25:50 +01:00
addon_fwd.hxx Add-ons: add method resourcePath() to addons.Addon ghosts 2018-01-10 01:25:50 +01:00
AddonManager.cxx Add-ons: make Addon::getMetadataFile() a private member function 2018-01-10 01:25:36 +01:00
AddonManager.hxx Add-ons: move all code to the flightgear::addons namespace 2017-12-26 19:44:15 +01:00
AddonMetadataParser.cxx Add-ons: move parsing of the metadata file to a separate translation unit 2018-01-10 01:25:36 +01:00
AddonMetadataParser.hxx Add-ons: move parsing of the metadata file to a separate translation unit 2018-01-10 01:25:36 +01:00
AddonResourceProvider.cxx Add-ons: add a simgear::ResourceProvider for add-on-specific lookup 2018-01-10 01:25:36 +01:00
AddonResourceProvider.hxx Add-ons: add a simgear::ResourceProvider for add-on-specific lookup 2018-01-10 01:25:36 +01:00
AddonVersion.cxx Add-ons: update namespace in a string and a comment 2018-01-01 01:14:37 +01:00
AddonVersion.hxx Add-ons: update namespace in a string and a comment 2018-01-01 01:14:37 +01:00
CMakeLists.txt Add-ons: add a simgear::ResourceProvider for add-on-specific lookup 2018-01-10 01:25:36 +01:00
contacts.cxx Add-ons: detailed, machine-parseable metadata for authors and maintainers 2018-01-02 21:57:35 +01:00
contacts.hxx Add-ons: rename ContactTraits to contact_traits for style consistency 2018-01-08 08:05:35 +01:00
exceptions.cxx Add-ons: move all code to the flightgear::addons namespace 2017-12-26 19:44:15 +01:00
exceptions.hxx Add-ons: add method resourcePath() to addons.Addon ghosts 2018-01-10 01:25:50 +01:00
pointer_traits.hxx Add-ons: add pointer traits 2018-01-02 00:35:50 +01:00
test_AddonManagement.cxx Add-ons: minor changes 2017-12-28 08:35:39 +01:00