vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AP_Nature.h
Go to the documentation of this file.
1 #ifndef AP_NATURE
2 #define AP_NATURE
3 
4 #include <vrecko/Ability.h>
5 #include <vreckoAP/Export>
6 #include <iostream>
7 
8 // Disable warning that tells us that using 'extern "C"' and 'string' at the same time is weird
9 #pragma warning(disable:4190)
10 
11 // Disable warning regarding full namespace-like specification of enumerations as in C# (TerrainAlignment::Centre)
12 //#pragma warning(disable:4482)
13 
14 using namespace vrecko;
15 
16 // Several functions for maintaining abilities
17 extern "C" AP_EXPORT const char *getPluginDescription(); // Returns a description of this plugin
18 extern "C" AP_EXPORT const char **getAbilityList(); // Returns a pointer to the ability name list
19 extern "C" AP_EXPORT const char *getAbilityDescription(const char *strName); // Returns a description of specified ability
20 extern "C" AP_EXPORT Ability *getAbilityInstance(const char* pchName); // Returns an instance of the specified ability
21 extern "C" AP_EXPORT void setAbilitiesParameters(); // Sets parameters info for BusinessProcess abilities
22 extern "C" void AP_EXPORT initializeAttributesDescription() {}
23 
24 #endif