20,741
edits
m (→config.xml) |
|||
Line 101: | Line 101: | ||
== config.xml == | == config.xml == | ||
Ideally, a minimal config.xml should look like this: | |||
<syntaxhighlight lang="xml"> | |||
<?xml version="1.0"?> | |||
<!-- | |||
spoken atc by rleibner | |||
ref: http://wiki.flightgear.org/Spoken_ATC | |||
Converted to a FlightGear addon by | |||
Torsten Dreyer, 18 July 2017 | |||
This file is part of FlightGear. | |||
FlightGear is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation, either version 2 of the License, or | |||
(at your option) any later version. | |||
FlightGear is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU General Public License for more details. | |||
You should have received a copy of the GNU General Public License | |||
along with FlightGear. If not, see <http://www.gnu.org/licenses/>. | |||
--> | |||
<PropertyList> | |||
<!-- addon version --> | |||
<version type="double">1.0</version> | |||
<authors></authors> | |||
<description></description | |||
</PropertyList> | |||
</syntaxhighlight> | |||
For the time being the {{tag|version}}, {{tag|authors}} and {{tag|description}} are strictly optional. However, addon developers are strongly encouraged to provide such meta information, which is entirely in line with the existing practice in [[Aircraft-set.xml]] files, and doing so will make it much easier in the future to extend/improve on the addon framework, e.g. by making breaking changes, provided that addons specify the proper {{tag|version}} tag. | |||
Furthermore, agreeing early on to provide, require and use such meta-information, will make it increasingly easy to also use the scenery/aircraft management back-ends implemented on top of the [[Catalog metadata]] and [[Package manager]] systems to also use these for installing, managing/updating, and removing addons in the future. | |||
== Implementation == | == Implementation == |