#region License // Copyright 2005-2019 Paul Kohler (https://github.com/paulkohler/minisqlquery). All rights reserved. // This source code is made available under the terms of the GNU Lesser General Public License v3.0 // https://github.com/paulkohler/minisqlquery/blob/master/LICENSE #endregion using System; using System.Collections.Generic; namespace MiniSqlQuery.Core { /// /// Tracks a list of filenames with promotion etc. /// public interface IMostRecentFilesService { /// /// Occurs when a change to the most recent files list is made. /// event EventHandler MostRecentFilesChanged; /// /// Gets the filenames on the MRU list. /// /// The filenames. IList Filenames { get; } /// /// Gets the maximum number of MRU commands. /// /// The maximum number of MRU commands. int MaxCommands { get; } /// /// Registers the specified . /// /// The to register. void Register(string filename); /// /// Removes the specified from the list. /// /// The to remove. void Remove(string filename); } }