Ladybird/AppKit: Implement a simple TaskManager window

Unlike the Inspector window, this is owned by the ApplicationDelegate as
there should be only a single task manager for the entire application.
This commit is contained in:
Timothy Flynn 2024-04-09 22:35:20 -04:00 committed by Andreas Kling
commit 3ab5ecb671
Notes: sideshowbarker 2024-07-16 21:42:29 +09:00
7 changed files with 226 additions and 1 deletions

View file

@ -0,0 +1,21 @@
/*
* Copyright (c) 2024, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#import <System/Cocoa.h>
@protocol TaskManagerDelegate <NSObject>
- (void)onTaskManagerClosed;
@end
@interface TaskManagerController : NSWindowController
- (instancetype)init:(id<TaskManagerDelegate>)delegate;
@end