[haiku-development] BMenu and friends

  • From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 8 Apr 2008 17:20:41 +0200

I'm trying to remove most BMenu friend classes, by creating a
MenuPrivate class which encapsulates all the accesses to the private
menu functions/variables.
BMenuBar, though, uses most of BMenu private stuff, so I was
thinking... instead of adding lots of methods to MenuPrivate, would I
break binary compatibility if I changed the "private" keyword in
Menu.h to be "protected", so that BMenuBar, being a subclass, could
automatically use all those methods ?

Other related posts: