// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "SuperSearchPrivatePCH.h" #include "SSuperSearch.h" IMPLEMENT_MODULE( FSuperSearchModule,SuperSearch ); namespace SuperSearchModule { static const FName FNameSuperSearchApp = FName(TEXT("SuperSearchApp")); } FSearchEntry * FSearchEntry::MakeCategoryEntry(const FString & InTitle) { FSearchEntry * SearchEntry = new FSearchEntry(); SearchEntry->Title = InTitle; SearchEntry->bCategory = true; return SearchEntry; } void FSuperSearchModule::StartupModule() { } void FSuperSearchModule::ShutdownModule() { } TSharedRef< SWidget > FSuperSearchModule::MakeSearchBox(TSharedPtr< SEditableTextBox >& OutExposedEditableTextBox, const TOptional InStyle) const { TSharedRef< SSuperSearchBox > NewSearchBox = SNew(SSuperSearchBox).Style(InStyle); OutExposedEditableTextBox = NewSearchBox->GetEditableTextBox(); return NewSearchBox; }