[bt-devel] API improvements
Joachim Ansorg
bt-devel@crosswire.org
Mon, 18 Feb 2002 10:22:06 +0100
Hi all!
I spent some time imrpoving the class structure of BibleTime.
As you may know we used the struct CImportantClasses all over the place to
get access in all classes to the backend and printer object. This was a bad
design, because the struct had to be passed as parameters to all objects,
which use it or which have childs using it.
If you want to access the backend and printer now, just inherit from the
class CPointers. Then you can use the functions backend() and printer() to
use printer and backend.
I think this is a better design.
Joachim