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

Restrict pluginfunctions core usage to core only

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