made frei0r disableable

This commit is contained in:
itsmattkc
2019-01-21 01:37:20 +11:00
parent 061ef88bdf
commit 2746e727f6
4 changed files with 14 additions and 0 deletions
+4
View File
@@ -1,5 +1,7 @@
#include "frei0reffect.h"
#ifndef NOFREI0R
#include <QMessageBox>
#include <QDir>
@@ -170,3 +172,5 @@ void Frei0rEffect::process_image(double timecode, uint8_t *input, uint8_t *outpu
update_func(instance, timecode, reinterpret_cast<uint32_t*>(input), reinterpret_cast<uint32_t*>(output));
}
#endif
+4
View File
@@ -1,6 +1,8 @@
#ifndef FREI0REFFECT_H
#define FREI0REFFECT_H
#ifndef NOFREI0R
#include "project/effect.h"
#include <frei0r.h>
@@ -24,4 +26,6 @@ private:
f0rGetParamInfo get_param_info;
};
#endif
#endif // FREI0REFFECT_H