[haiku-bugs] Re: [Haiku] #7091: Bluetooth UI layer refactoring and improvement

  • From: "oruizdorantes" <trac@xxxxxxxxxxxx>
  • Date: Wed, 12 Jan 2011 20:34:14 -0000

#7091: Bluetooth UI layer refactoring and improvement
-------------------------------------------+------------------------------
  Reporter:  hamish                        |        Owner:  yourpalal
      Type:  enhancement                   |       Status:  assigned
  Priority:  normal                        |    Milestone:  R1
 Component:  Network & Internet/Bluetooth  |      Version:  R1/Development
Resolution:                                |     Keywords:
Blocked By:                                |  Has a Patch:  1
  Platform:  All                           |     Blocking:
-------------------------------------------+------------------------------

Comment (by oruizdorantes):

 > Another option is to pass the view name in place of the index, which
 combines the best of both worlds (fixed "handles" + no extra BList). This
 also makes it simple to find the view in question using BView::FindView().
 All that would be needed on the server side would be to make sure the
 string literals are assigned to a const char* somewhere. How does that
 sound to you?

 I like the idea, but I guess we would have an overhead each time we post
 debug information for looking for the view, comparing strings :-/

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7091#comment:12>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: