[vlc-devel] Re: open file dialog filetype filter
Brian Robb
vascy at hotmail.com
Wed Sep 7 00:49:07 CEST 2005
>Hello,
>Thanks for this patch.
>However, we'd like to centralize this so it can be used by all interfaces.
>(https://trac.videolan.org/vlc/ticket/24)
>I don't know what we should exactly do for possible autogeneration of
>these.
Any preferences on what I should change vlc_interface.h to?
I'm thinking something like:
struct filetype_filter {
const char* name; // e.g. name = "Playlist Files"
const char* extensions[30];
// e.g. extensions[0] = "*.m3u", extensions[1] = ".pls", extensions[2] =
".asx"
}
struct filetype_filter_list[5];
// filetype_filter_list[0] = All Files
// filetype_filter_list[1] = Video Files
// filetype_filter_list[2] = Audio Files
// filetype_filter_list[3] = Playlist Files
// filetype_filter_list[4] = Other Files
Then functions to refer to that struct...
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list