>
>| I'd like to do the following:
>| - upgrade of libsigc version to 1.4/1.3 whatever the release version
>| ends up getting called.
>
>I am a bit ambivalent about this one... it might be easier to just use
>the boost signal/slot library in the core or lyx, and ...
>
>| - Gtkmm2 frontend.
>
>... keep sigc++ here.

Well, if that can be done then I'm all for it.  However, I can't find any 
references to boost's signal/slot mechanism,  do you have some 
URLs?  Sigc++ is very nice code, it's robust and has been around for ages, 
it'd be a shame to remove it.

If it's the upgrade that you're concerned about there are only a few 
changes that I'd need to make to get our usage backwards compatible.

SigC::slot() now takes references only.  Older versions accept both 
references and pointers So we'd just need to change a few things i.e

d_.showAboutlyx.connect(SigC::slot(this, &ControlAboutlyx::show));

d_.showAboutlyx.connect(SigC::slot(*this, &ControlAboutlyx::show));

Plus there's the #include problem as they've removed signal_system.h and 
you now need to include slot.h or signal.h depending on what you're using. 
this can be solved with an intermediate file containing #ifdef s.

>| - GUII
>
>but this will decide how easy that is going to be.


Cheers

Koz
"Technology is dominated by two types of people: those who understand what 
they do not manage, and those who manage what they do not understand."

Reply via email to