[haiku-development] Re: Keymap management backend.

  • From: Alexandre Deckner <alex@xxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 03 Sep 2008 18:53:19 +0200

Michael Pfeiffer wrote:

Am 03.09.2008 um 18:09 schrieb Alexandre Deckner:

Hmm, i'm not really sure how the BPrivate namespace should be used throughout the project. I mean, even for a public API? I'm asking since Keymap preflet and 3rd party tools are the target audience. Or i miss something?


Haiku R1 should be binary backwards compatible with BeOS R5, that means you still have to provide implementations for the old API.
Yep, i'm just adding a new "api" not replacing (not even touching) the old one. And to reassure those i might have scared, it's just 4 methods that send messages to the input server. It is definitely worth it imo.

If new public API is introduced in Haiku R1 there is no guarantee that it will stay stable until R2. As a consequence if it is not really necessary, I would avoid to introduce public API and would keep it private between the preflet and the input server. I think that's what BPrivate namespace is for.
Ok, i wasn't sure about the meaning, thanks for the clarification.

Regards,
Alex



Other related posts: