Commit 4acfd1ff authored by Leander Schulten's avatar Leander Schulten
Browse files

update module.h interface to support LoopPrograms

parent a9b6c249
......@@ -11,6 +11,10 @@
#include "program.hpp"
#endif
#ifdef HAVE_LOOP_PROGRAM
#include "loopprogram.hpp"
#endif
#ifdef HAVE_FILTER
#include "filter.hpp"
#endif
......@@ -52,7 +56,7 @@ MODULE_EXPORT bool have(MODUL_TYPE t){
return false;
#endif
case MODUL_TYPE::LoopProgram:
#ifdef HAVE_LOOP_PROGRAMM
#ifdef HAVE_LOOP_PROGRAM
return true;
#else
return false;
......@@ -88,6 +92,13 @@ MODULE_EXPORT Modules::Program * createProgram(unsigned int index);
MODULE_EXPORT char const * getDescriptionOfProgram(unsigned int index);
#endif
#ifdef HAVE_LOOP_PROGRAM
MODULE_EXPORT unsigned int getNumberOfLoopPrograms();
MODULE_EXPORT char const * getNameOfLoopProgram(unsigned int index);
MODULE_EXPORT Modules::LoopProgram * createLoopProgram(unsigned int index);
MODULE_EXPORT char const * getDescriptionOfLoopProgram(unsigned int index);
#endif
#ifdef HAVE_FILTER
MODULE_EXPORT unsigned int getNumberOfFilters();
MODULE_EXPORT char const * getNameOfFilter(unsigned int index);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment