Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
4ab81d1f
Commit
4ab81d1f
authored
Feb 18, 2013
by
Alexander Wiebel
Browse files
Encourage using META file
parent
19cfe781
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tools/generateModuleTemplate.pl
tools/generateModuleTemplate.pl
+5
-2
No files found.
tools/generateModuleTemplate.pl
View file @
4ab81d1f
...
...
@@ -147,7 +147,6 @@ $impl = <<EOF
#include <string>
#include "core/kernel/WKernel.h"
#include "modules/emptyIcon.xpm" // Please put a real icon here.
#include "WM#name#.h"
...
...
@@ -172,7 +171,11 @@ boost::shared_ptr< WModule > WM#name#::factory() const
const char** WM#name#::getXPMIcon() const
{
return emptyIcon_xpm; // Please put a real icon here.
// This is deprecated! You can still use it as fallback if you do not specify a META file.
//
// This was used to provide an icon for your module. You should use the META file in your resource directory. This file is commented and
// explains each entry in detail.
return NULL;
}
const std::string WM#name#::getName() const
{
...
...
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