[haiku-bugs] Re: [Haiku] #6113: Locale Kit needs a way to load catalogs from libraries

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 30 Jun 2010 13:28:15 -0000

#6113: Locale Kit needs a way to load catalogs from libraries
-----------------------------+----------------------------------------------
 Reporter:  zooey            |       Owner:  pulkomandy    
     Type:  bug              |      Status:  assigned      
 Priority:  normal           |   Milestone:  R1            
Component:  Kits/Locale Kit  |     Version:  R1/Development
 Keywords:                   |   Blockedby:                
    Patch:  0                |    Platform:  All           
 Blocking:  5889             |  
-----------------------------+----------------------------------------------

Comment(by pulkomandy):

 Ok, I'm getting it.
 One more question, however : how can it find out the shared object from
 the address ? I had a look at the be book but couldn't find anything (I
 think it's in Kernel/Image, but...). Do I need to use get_image_info and
 look for the address ranges, until I find the one that matches the pointer
 ? Isn't there any "reverse lookup" for this ?

 Also, is there a reliable way to derive a mimetype from this info ? For an
 application I know only of be_app->GetAppInfo ; I have no idea what I can
 do for add-ons and libraries. Is there even a mimetype set on libraries at
 all ?

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

Other related posts: