Skip to main content

Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: Query supported file types (Read 2126 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Query supported file types

Hallo,

the user chooses the file extensions in the preferences/file types dialog, is there any way to query currently associated/supported the file extensions/types (mp3, ogg, flac, etc.) from a component ? 

Thank you in advance,

nRaecher

Query supported file types

Reply #1
You can enumerate the input_file_type service instances to get a list of supported file types.

Query supported file types

Reply #2
You can enumerate the input_file_type service instances to get a list of supported file types.

Sounds good, but can you give me a piece of code that shows me how to do this ? A sample or something ?

Edit : Found it myself in input_file_type.cpp, it works, thank you for the hint.

 
SimplePortal 1.0.0 RC1 © 2008-2021