Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Leander Schulten
Lichtsteuerung
Commits
4acfd1ff
Commit
4acfd1ff
authored
Nov 20, 2018
by
Leander Schulten
Browse files
update module.h interface to support LoopPrograms
parent
a9b6c249
Changes
1
Hide whitespace changes
Inline
Side-by-side
programms/module.h
View file @
4acfd1ff
...
...
@@ -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_PROGRAM
M
#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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment