From 621d28adeff7e9d685fae06b63b0787fa1668de1 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Wed, 14 Feb 2018 13:10:17 -0300 Subject: Fix for a possible compile error under OS X --- editor/editor_help.h | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'editor/editor_help.h') diff --git a/editor/editor_help.h b/editor/editor_help.h index db4c33afb..aa84aa611 100644 --- a/editor/editor_help.h +++ b/editor/editor_help.h @@ -54,7 +54,30 @@ class EditorHelpSearch : public ConfirmationDialog { Tree *search_options; String base_type; - class IncrementalSearch; + class IncrementalSearch : public Reference { + String term; + TreeItem *root; + + EditorHelpSearch *search; + Tree *search_options; + + DocData *doc; + Ref def_icon; + + int phase; + Map::Element *iterator; + + void phase1(Map::Element *E); + void phase2(Map::Element *E); + bool slice(); + + public: + IncrementalSearch(EditorHelpSearch *p_search, Tree *p_search_options, const String &p_term); + + bool empty() const; + bool work(uint64_t slot = 1000000 / 10); + }; + Ref search; void _update_search(); -- cgit v1.2.3-70-g09d2