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

ToDo plugin patch doing some refactoring

(1/6) > >>

frithjofh:
I had some no-quality spare time sitting in a train and looked over one of the classes in the plugin.

only refactoring, functionality should be identical.

changes to addtododlg.h :

- changed the constructor: now takes const& instead of copying arguments
- made the destructor virtual
- removed two not necessary members
- some clean up

changes to addtododlg.cpp :

- changed the constructor: now takes const& instead of copying arguments
- moved empty destructor to header file
- removed two not necessary members
- removed some loops to add entries to wxWidgets gui elements which support adding an array of entries
- removed some loops getting the entries from gui elements, when they support retrieving an array
- some clean up

regards

frithjofh:
made some changes to the original post to include the changes made

oBFusCATed:
Please minimize the number of topics you post, especially when you post patches for a single plugin...

frithjofh:
understood ;) - will do

will you be testing these patches?

oBFusCATed:
Won't have time in the next two weeks.

Navigation

[0] Message Index

[#] Next page

Go to full version