Commit 2e78410c authored by Jan Möbius's avatar Jan Möbius
Browse files

Restrict pluginfunctions core usage to core only

parent 2ce22d29
...@@ -69,11 +69,9 @@ ...@@ -69,11 +69,9 @@
#ifndef OPENFLIPPERCORE #ifndef OPENFLIPPERCORE
#ifndef OPENFLIPPERPLUGINLIB #ifndef OPENFLIPPERPLUGINLIB
#ifdef WIN32 #ifdef WIN32
#pragma message("PluginFunctionsCore is only allowed to be used from within OpenFlippers Core application!") #error PluginFunctionsCore is only allowed to be used from within OpenFlippers Core application!
#else #else
#warning PluginFunctionsCore is only allowed to be used from within OpenFlippers Core application! #error PluginFunctionsCore is only allowed to be used from within OpenFlippers Core application!
#error Bla
#endif #endif
#endif #endif
#endif #endif
......
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