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