2024-05-30 13:35:10 -04:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2024, Tim Flynn <trflynn89@serenityos.org>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2024-06-10 20:35:45 -04:00
|
|
|
#include <AK/Optional.h>
|
|
|
|
|
|
2024-07-16 23:54:53 -06:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2024-05-30 13:35:10 -04:00
|
|
|
|
|
|
|
|
@interface SearchPanel : NSStackView
|
|
|
|
|
|
|
|
|
|
- (void)find:(id)selector;
|
|
|
|
|
- (void)findNextMatch:(id)selector;
|
|
|
|
|
- (void)findPreviousMatch:(id)selector;
|
|
|
|
|
- (void)useSelectionForFind:(id)selector;
|
2024-06-10 20:35:45 -04:00
|
|
|
- (void)onFindInPageResult:(size_t)current_match_index
|
|
|
|
|
totalMatchCount:(Optional<size_t> const&)total_match_count;
|
2024-05-30 13:35:10 -04:00
|
|
|
|
|
|
|
|
@end
|