[gmpi] Re: 3.11 Wild cards in strings

On Wed, Mar 31, 2004 at 07:36:26PM +0100, Andy C wrote:
> So at this point the host is responsible for the GUI and the file dialog.

possibly..

> If the  host presents the file dialog to the user, and gets a file name to
> be passed to the GUI then that will be a fully qualified file name ?

That seems to make sense.

> I am finding it hard to see why a plugin would pass file name to the host
> with a wild card in it ?  The only time may be to say "I can handle files of
> type X,Y and Z" but that wouldn't better handled at instantiation ?  Is
> there a use case example?

How do you see it at instantiation?  I can see this use case:

A sample player.  One parameter is the filename to load.  The plugin can
handle wav and aiff files.  The file-open dialog should use the mask
"*.wav,*.aiff".  If the host is responsible for the dialog, it needs to know
that mask.

> As for wildcards, which do we support , if any? Do we support the rather
> limted set that windows supports or the full set that most Unix variations
> allow.  And that then begs the question of how a Windows host will handle a
> request containing the Unix type wildcards ?

I think that search masks should be simple, least-common denominators.  For
filenames, the search mask is almost always *.something (*.wav, *.txt, *.*,
etc).

> I hope I'm not beating this one too much to death

I think you're stressing a bit too much on it, but maybe I am missing the
point altogether and just not stressing it enough.

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: