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

  • From: "Karvjorm" <trac@xxxxxxxxxxxx>
  • Date: Tue, 01 Jun 2010 16:19:15 -0000

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

Comment(by Karvjorm):

 I have planned to test some extra Singleton class to save BCatalog file.
 It would be public there. Each library .cpp file will test if the
 singleton class exists and if there isn't any, it will create the class
 and call be_locale->GetAppCatalog(&fAppCatalog). A library can include
 namespace classes and non-namespace functions. This could be then non-
 namespace class, so the non-namespace functions can access fAppCatalog, I
 think.

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

Other related posts: