ATL-815: Implemented Open Recent.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta
2021-01-18 16:35:18 +01:00
committed by Akos Kitta
parent 66b711f43c
commit 6626701bc9
10 changed files with 191 additions and 14 deletions

View File

@@ -46,6 +46,10 @@ export class NotificationServiceServerImpl implements NotificationServiceServer
this.clients.forEach(client => client.notifySketchbookChanged(event));
}
notifyRecentSketchesChanged(event: { sketches: Sketch[] }): void {
this.clients.forEach(client => client.notifyRecentSketchesChanged(event));
}
setClient(client: NotificationServiceClient): void {
this.clients.push(client);
}