You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Hooked in feature packs to show in super search using tags in the FP manifests Added some keywords to manifests for super search [CL 2526727 by bruce nesbit in Main branch]
37 lines
934 B
C++
37 lines
934 B
C++
// 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<const FSearchBoxStyle*> InStyle) const
|
|
{
|
|
TSharedRef< SSuperSearchBox > NewSearchBox = SNew(SSuperSearchBox).Style(InStyle);
|
|
OutExposedEditableTextBox = NewSearchBox->GetEditableTextBox();
|
|
return NewSearchBox;
|
|
}
|