Skip to main content
Topic: Query supported file types (Read 1983 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-2018