Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
classwizard plugin
workwind:
Hi,
I did some improvements on the classwizard plugin:
* supports namespaces
* subdirectory creation
* optional generation of implementation file
* using the default code .h and .cpp file for code generationIf you are interested I can send you the sourcecode
Regards,
Nils
mandrav:
Sure, send it this way...
workwind:
patch ID is 001568 ;-)
MortenMacFly:
--- Quote from: workwind on October 18, 2006, 09:47:02 am ---patch ID is 001568 ;-)
--- End quote ---
I tried and it looks good, I had no objections. But: C::B one time froze completely when I did the following:
- create a c++ console project
- add a class named "myClass"
- constr. arguments: "int my_int"
- inheritance enabled, from "Base"
(everything else I left as it is).
I wasn't able to reproduce, but did you experience any similar?
With regards, Morten.
Edit: Ah, and I had forgotten: If you don't have a project, the plugin creates the files fine, but it doesn't ask for a folder where to create to and actually creates them in the folder where C::B is (in my case). This may not be what one expects. I would expect eighter: The plugin does not work without a project or (which I believe is better) the files are not being saved, just created.
workwind:
--- Quote from: MortenMacFly on October 18, 2006, 07:46:18 pm ---I wasn't able to reproduce, but did you experience any similar?
--- End quote ---
I had never such experience... ;-)
--- Quote ---Edit: Ah, and I had forgotten: If you don't have a project, the plugin creates the files fine, but it doesn't ask for a folder where to create to and actually creates them in the folder where C::B is (in my case). This may not be what one expects. I would expect eighter: The plugin does not work without a project or (which I believe is better) the files are not being saved, just created.
--- End quote ---
I updated the patch to allow the selection of the base directory. That works with and without a project. The new version is here: 001568
Navigation
[0] Message Index
[#] Next page
Go to full version