Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
2e78410c
Commit
2e78410c
authored
Apr 19, 2018
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restrict pluginfunctions core usage to core only
parent
2ce22d29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
BasePlugin/PluginFunctionsCore.hh
BasePlugin/PluginFunctionsCore.hh
+2
-4
No files found.
BasePlugin/PluginFunctionsCore.hh
View file @
2e78410c
...
...
@@ -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
...
...
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