mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
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:
parent
40a914ce1a
commit
3ab5ecb671
Notes:
sideshowbarker
2024-07-16 21:42:29 +09:00
Author: https://github.com/trflynn89
Commit: 3ab5ecb671
Pull-request: https://github.com/SerenityOS/serenity/pull/23916
7 changed files with 226 additions and 1 deletions
21
Ladybird/AppKit/UI/TaskManagerController.h
Normal file
21
Ladybird/AppKit/UI/TaskManagerController.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue