Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

a Qt plugin : QtPregenForCB => AddOnForQt

<< < (7/16) > >>

LETARTARE:
Hello,
-> new 'QtPregenForCB-0.5.0'

I deleted the state

--- Quote ---bsTargetPreGen
--- End quote ---
I renamed the two events

--- Quote ---'cbEVT_PREGEN_ALL' and
'cbEVT_PREGEN_FILE'
--- End quote ---
and methods

--- Quote ---'void DoPreGenAll();'
'void DoPreGenFile(const wxString& file);'
--- End quote ---
The structure 's_rebuild' is declared public in' compilergcc.h '

I provide a new patch to svn 10118, see to :
https://github.com/LETARTARE/QtPregenForCB

Best regards

oBFusCATed:
compilergcc.h is not public. It is part of the compiler plugin and the CB's SDK.

Also you've not answer my last question.

LETARTARE:
@oBFusCATed
I thought it was necessary to launch the event from a state machine.

's_prebuild' is used only in 'compilergcc.cpp' and 'qtPregen.cpp', Is not that enough?

oBFusCATed:

--- Quote from: LETARTARE on February 22, 2015, 02:34:05 pm ---@oBFusCATed
I thought it was necessary to launch the event from a state machine.

--- End quote ---
But why have you invented another state? Why do you need it?


--- Quote from: LETARTARE on February 22, 2015, 02:34:05 pm ---'s_prebuild' is used only in 'compilergcc.cpp' and 'qtPregen.cpp', Is not that enough?

--- End quote ---
qtPregen.cpp is part of your plugin and you're accessing headers that are part of another plugin, right?
Do you think this is correct? What will happen if I want to use this event in another plugin and don't have the full source tree of codeblocks, but I'm using the headers installed in /usr/include/codeblocks?

The public SDK is comprised of the files in src/include and libcodeblocks.so anything that is not part of these two should not be used by a plugin!

LETARTARE:
@oBFusCATed

--- Quote ---The public SDK is comprised of the files in src/include and libcodeblocks.so anything that is not part of these two should not be used by a plugin!
--- End quote ---

do 'cbplugin.h' correct ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version