summaryrefslogtreecommitdiff
path: root/src/script/api/script_object.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-29 23:27:26 +0000
committertruebrain <truebrain@openttd.org>2011-11-29 23:27:26 +0000
commit4d91f645c15bb3128adf969afcf7f15bd0f14fa0 (patch)
tree8ccc602deda6aa29bedcd19f697558348e7af3d6 /src/script/api/script_object.hpp
parent2c877b074ed656a6cf1d4d4e415cce407980add5 (diff)
downloadopenttd-4d91f645c15bb3128adf969afcf7f15bd0f14fa0.tar.xz
(svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions
Diffstat (limited to 'src/script/api/script_object.hpp')
-rw-r--r--src/script/api/script_object.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/script/api/script_object.hpp b/src/script/api/script_object.hpp
index 6e6e96d8b..d9ccd8fba 100644
--- a/src/script/api/script_object.hpp
+++ b/src/script/api/script_object.hpp
@@ -29,10 +29,10 @@ typedef bool (ScriptModeProc)();
* your script, as it doesn't publish any public functions. It is used
* internally to have a common place to handle general things, like internal
* command processing, and command-validation checks.
+ * @api none
*/
class ScriptObject : public SimpleCountedObject {
friend class ScriptInstance;
-#ifndef DOXYGEN_AI_DOCS
protected:
/**
* A class that handles the current active instance. By instantiating it at
@@ -239,7 +239,6 @@ private:
* @param group_id The new GroupID.
*/
static void SetNewGroupID(GroupID group_id);
-#endif /* DOXYGEN_AI_DOCS */
};
#endif /* SCRIPT_OBJECT_HPP */