[haiku-bugs] [Haiku] #10453: BAppFileInfo needs adjustments to work correctly with private mime databases

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 21 Jan 2014 01:59:25 -0000

#10453: BAppFileInfo needs adjustments to work correctly with private mime
databases
------------------------------+------------------------------
 Reporter:  anevilyak         |        Owner:  bonefish
     Type:  bug               |       Status:  new
 Priority:  low               |    Milestone:  R1
Component:  Kits/Storage Kit  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 As implemented currently, {{{BAppFileInfo::{Get,Set}SupportedTypes()}}}
 and {{{BAppFileInfo::{Get,Set}IconForType()}}} always use the system MIME
 database. This can be problematic however, if e.g. one intends to use
 {{{mimeset -m}}} to write to a custom database instead. As such,
 additional versions of these calls would need to be added that allow the
 caller to specify the database to use in addition to their usual
 parameters.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10453>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: