From 4d91f645c15bb3128adf969afcf7f15bd0f14fa0 Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 29 Nov 2011 23:27:26 +0000 Subject: (svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions --- src/script/api/script_event.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/script/api/script_event.hpp') diff --git a/src/script/api/script_event.hpp b/src/script/api/script_event.hpp index eb15ded2e..ed7684943 100644 --- a/src/script/api/script_event.hpp +++ b/src/script/api/script_event.hpp @@ -18,6 +18,7 @@ * Class that handles all event related functions. * You can lookup the type, and than convert it to the real event-class. * That way you can request more detailed information about the event. + * @api ai */ class ScriptEvent : public ScriptObject { public: @@ -72,6 +73,7 @@ protected: /** * Class that handles all event related functions. + * @api ai * @note it is not needed to create an instance of ScriptEvent to access it, as * all members are static, and all data is stored AI-wide. */ @@ -89,20 +91,18 @@ public: */ static ScriptEvent *GetNextEvent(); -#ifndef EXPORT_SKIP /** * Insert an event to the queue for the company. * @param event The event to insert. - * @note DO NOT CALL YOURSELF; leave it to the internal AI programming. + * @api -all */ static void InsertEvent(ScriptEvent *event); /** * Free the event pointer. - * @note DO NOT CALL YOURSELF; leave it to the internal AI programming. + * @api -all */ static void FreeEventPointer(); -#endif /* EXPORT_SKIP */ private: /** -- cgit v1.2.3-54-g00ecf