[Kst] [Bug 68074] priority of data sources

George Staikos staikos at kde.org
Wed Nov 12 23:01:39 CET 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=68074     




------- Additional Comments From staikos at kde.org  2003-11-12 23:01 -------
Subject: Re: [Kst]  New: priority of data sources

On Wednesday 12 November 2003 16:59, Andrew Walker wrote:
> There may be situations in which more than one of the KstDataSource plugins
> is willing to try and read in a given datafile, based on the filename,
> format, etc.
>
> It might be advantageous to add an out parameter to the "understands"
> function such that a KstDataSource can indicate its level of certainty that
> it does understand a particular file. (e.g. UNDERSTAND_DEFINITE,
> UNDERSTAND_POSSIBLE, UNDERSTAND_WILL_GIVE_IT_A_GO) This parameter could
> then be used to select the best suited KstDataSource. All else being equal
> the first KstDataSource queried will be assigned the file.

   Yes we have been discussing this as well.  There are a couple of approaches 
to this and I expect I will make this change sometime before the end of the 
month.



More information about the Kst mailing list