Hello all,

Due to the issues related to dynamic_casts, and as those were only used to make 
the code compacter, I`ve changed the way the driver works as follows:
- Before: 1 callback function common to all Qt devices (e.g. plD_line_qt), 
calling the proper implementations making tests on the results of dynamic_casts
- After: 1 callback function for every Qt device (e.g. plD_line_svgqt), using 
simple C-style casts. If you prefer C++ reinterpret_casts, just ask.
This is by far the simplest solution I can think about.

If this suits your needs, I will then proceed with other updates later.

While I`m working on this, Dmitri Gribenko complained about the fact that all 
the class definitions were bulked in one header, which is not conventional in 
C++, but is functional and avoids having many header files for a single driver. 
I can change that of course, I just want an official green light for this, as 
it remained as the state of a discussion.

Cheers,

Alban

Attachment: qt_patch
Description: qt_patch

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to