That all sounds sensible.
Thanks!
On Mon, 2008-02-11 at 15:49 -0800, MenTaLguY wrote:
On Mon, 11 Feb 2008 23:41:06 +0000, Joel Holdsworth <joel@...1709...> wrote:
Now looking at the code for the tools, they're currently all implemented in C with C pseudo-classes. I'm wondering is there any plan to transition these tools over to C++ to use true classes?
Yes.
and if so, if I'm creating a new pseudo-tool, would it be best to take a C++ approach, or to keep consistency with the C stuff until someone transitions all the tools over?
As long as you aren't duplicating any existing code, the C++ approach is probably fine. Remember to put any new C++ classes in the Inkscape:: namespace, and be sure that you understand that constructors/destructors of members of C-style "classes" must be called manually, as they will not be called automatically.
-mental