From: Christian Neumair (chris_at_gnome-de.org)
Date: Fri Apr 09 2004 - 18:00:09 EDT
On Fri, 2004-04-09 at 22:15 +0200, Marc Maurer wrote:
> > > You'll only need to change the getter/setters in xp and unix this way too.
> >
> > All the setters/getters are already virtual in the XP code. When not
> > implementing but declaring them, I get the following error during
> > linking:
> > ../../../../src/wp/ap/libAp.a(ap_UnixDialog_Options.o)(.gnu.linkonce.r._ZTV21AP_UnixDialog_Options+0x58): undefined reference to `AP_UnixDialog_Options::_gatherSpellInternet()'
> > ../../../../src/wp/ap/libAp.a(ap_UnixDialog_Options.o)(.gnu.linkonce.r._ZTV21AP_UnixDialog_Options+0x5c): undefined reference to `AP_UnixDialog_Options::_setSpellInternet(bool)'
> >
> > Murray told me on IRC that they are "pure" virtual functions and need to
> > be implemented in derived classes. Can't we unpurify them?
>
> sure, just add some nice { } braces to unpurify them in the XP header.
>
> Then you _can_ override then in derived classes, but you don't _have_
> to.
Uhm where should I add it? Does this mean that it's an empty
function/dummy implementation? Sorry, but I'm completely unfamiliar with
this coding style / way of thinking.
regs,
Chris
This archive was generated by hypermail 2.1.4 : Fri Apr 09 2004 - 18:02:44 EDT