This is a case for inheritance: have oo::job inherit from oo::gui::defaultjob (as chromatic suggests) and then you can just do the magic in oo::job. The methods that are not found in oo::job will be searched for in oo::gui::defaultjob.
And as to nastiness, just consider what you're doing above: your constructor of class oo::gui::defaultjob returns an instance of class oo::job...
CU
Robartes-
In reply to Re: Revolving door blessing.
by robartes
in thread Revolving door blessing.
by submersible_toaster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |