Version: 0.0.15-alpha0.0.16-alpha0.0.21-alpha0.0.22-alpha0.0.23-alpha0.0.24-alpha0.0.25-alpha0.0.26-alpha0.0.28-alpha0.0.290.0.300.0.310.0.320.0.330.0.340.0.350.0.360.0.370.0.380.0.390.0.400.0.411.20.01.21.01.21.11.21.21.21.31.21.41.21.51.21.61.21.71.21.81.22.01.22.11.22.21.22.31.22.41.23.01.23.11.23.21.23.31.23.41.24.01.24.11.24.21.24.31.24.41.24.51.25.01.25.11.26.01.27.01.28.01.31.01.31.11.36.01.36.11.36.21.40.01.40.11.40.21.40.31.40.41.40.51.40.61.40.71.40.81.40.91.40.101.40.111.40.121.40.131.40.141.40.151.40.161.40.171.40.18
import { Disposable } from '../index';
/**
* History manager for remembering which projects have been opened.
* An instance of this class is always available as the atom.history global.
* The project history is used to enable the 'Reopen Project' menu.
*/
export interface HistoryManager {
/** Obtain a list of previously opened projects. */
getProjects(): ProjectHistory[];
* Clear all projects from the history.
* Note: This is not a privacy function - other traces will still exist, e.g.
* window state.
clearProjects(): void;
/** Invoke the given callback when the list of projects changes. */
onDidChangeProjects(callback: (args: { reloaded: boolean }) => void): Disposable;
}
export interface ProjectHistory {
paths: string[];
lastOpened: Date;