(svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
/**
|
||||
* Creates a list of industries that are currently on the map.
|
||||
* @api ai
|
||||
* @ingroup ScriptList
|
||||
*/
|
||||
class ScriptIndustryList : public ScriptList {
|
||||
@@ -25,6 +26,7 @@ public:
|
||||
|
||||
/**
|
||||
* Creates a list of industries that accepts a given cargo.
|
||||
* @api ai
|
||||
* @ingroup ScriptList
|
||||
*/
|
||||
class ScriptIndustryList_CargoAccepting : public ScriptList {
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
/**
|
||||
* Creates a list of industries that can produce a given cargo.
|
||||
* @note It also contains industries that currently produces 0 units of the cargo.
|
||||
* @api ai
|
||||
* @ingroup ScriptList
|
||||
*/
|
||||
class ScriptIndustryList_CargoProducing : public ScriptList {
|
||||
|
Reference in New Issue
Block a user