[haiku-development] Re: Issue adding deskbar replicant from a server

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 20 Jan 2017 10:01:54 +0100

Am 20/01/2017 um 03:34 schrieb Rene Gollent:

From a quick glance, your signature for Instantiate is incorrect:

static DeskbarShelfView* Instantiate(BMessage* data);

should be:

static BArchivable* Instantiate(BMessage* data);

Nope, the return type is not part of the function signature -- it's the same method, just more convenient to use.

Bye,
   Axel.

Other related posts: