Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
PluginWizard output doesn't compile
Pecan:
Are you sure that the generated plugin wizard code
should be getting all these errors with no user modifications
at all?
thanks
pecan
[attachment deleted by admin]
mandrav:
I haven't updated the wizard to reflect the latest interface changes yet.
(read my sig ;))
thomas:
--- Quote from: Pecan on January 25, 2006, 02:18:58 am ---Are you sure that the generated plugin wizard code
should be getting all these errors with no user modifications
at all?
--- End quote ---
--- Quote from: mandrav on January 25, 2006, 08:21:26 am ---I haven't updated the wizard to reflect the latest interface changes yet.
(read my sig ;))
--- End quote ---
Hmm yes, those empty declarations are missing. But hey, you have to implement those functions anyway, or the plugin makes no sense at all ;)
yop:
The BuildModuleMenu(const ModuleType type, wxMenu* menu, const FileTreeData* data); error was introduced lately (I got it yesterday). The rest were there for quite a while in the compiler plugin template. One more thing that I came across when I started a test compiler plugin to see what the provided template looks like in rev 1801 and I'm talking about the compiler plugin template: When the dialog of the plugin wizard pops up don't give a name for the plugin, just press ok and save the project as prompted. You'll get a dialog that all went OK and then another dialog "Code::Blocks error - can't open file blah blah". It's very easy to reproduce. Maybe you should check if the user hasn't provided a name for the plugin and promt the user to do so.
Pecan:
Ok, I can be patient.
I really was trying to figure out if
an "ordinary Plain Jane" plugin is supposed to do its
config the old way or with the new "settings scheme".
So I generated a generic wizard to find out....
Whoops, no answer there.
So..., should Plain Jane Plugin do an "EVT_MyButton_Plushed" to
execute a dialogue, or follow the "cbConfigurationPanel" way of
doing dialogues?
thanks
pecan
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version