[haiku-bugs] Re: [Haiku] #13138: BInputServerMethod::SetMenu doesn't work

  • From: "jalopeura" <trac@xxxxxxxxxxxx>
  • Date: Sun, 01 Jan 2017 17:29:14 -0000

#13138: BInputServerMethod::SetMenu doesn't work
------------------------------------+----------------------------
   Reporter:  jalopeura             |      Owner:  nobody
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Servers/input_server  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  1                     |   Platform:  All
------------------------------------+----------------------------

Comment (by jalopeura):

 Replying to [comment:6 axeld]:

The return type is not part of the function signature.

 The Be Book says

Instantiate() must return a BArchivable*, regardless of the actual class
 in which it's implemented.

 If it's not for mangling...ah, it's because it's a virtual method
 inherited from BArchivable, so the vtable wouldn't find it if it didn't
 have the right return type.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13138#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: