You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Remove menu button for API reference if the CHM file doesn't exist. [CL 2462416 by Ben Marsh in Main branch]
48 lines
1.9 KiB
C++
48 lines
1.9 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "IDocumentation.h"
|
|
|
|
class FDocumentation : public IDocumentation
|
|
{
|
|
public:
|
|
|
|
static TSharedRef< IDocumentation > Create();
|
|
|
|
public:
|
|
|
|
virtual ~FDocumentation();
|
|
|
|
virtual bool OpenHome(FDocumentationSourceInfo Source = FDocumentationSourceInfo()) const override;
|
|
|
|
virtual bool OpenHome(const FCultureRef& Culture, FDocumentationSourceInfo Source = FDocumentationSourceInfo()) const override;
|
|
|
|
virtual bool OpenAPIHome() const override;
|
|
|
|
virtual bool CanOpenAPIHome() const override;
|
|
|
|
virtual bool Open( const FString& Link, FDocumentationSourceInfo Source = FDocumentationSourceInfo() ) const override;
|
|
|
|
virtual bool Open( const FString& Link, const FCultureRef& Culture, FDocumentationSourceInfo Source = FDocumentationSourceInfo() ) const override;
|
|
|
|
virtual TSharedRef< SWidget > CreateAnchor( const TAttribute<FString>& Link, const FString& PreviewLink = FString(), const FString& PreviewExcerptName = FString() ) const override;
|
|
|
|
virtual TSharedRef< IDocumentationPage > GetPage( const FString& Link, const TSharedPtr< FParserConfiguration >& Config, const FDocumentationStyle& Style = FDocumentationStyle() ) override;
|
|
|
|
virtual bool PageExists(const FString& Link) const override;
|
|
|
|
virtual bool PageExists(const FString& Link, const FCultureRef& Culture) const override;
|
|
|
|
virtual TSharedRef< class SToolTip > CreateToolTip( const TAttribute<FText>& Text, const TSharedPtr<SWidget>& OverrideContent, const FString& Link, const FString& ExcerptName ) const override;
|
|
|
|
virtual TSharedRef< class SToolTip > CreateToolTip(const TAttribute<FText>& Text, const TSharedRef<SWidget>& OverrideContent, const TSharedPtr<SVerticalBox>& DocVerticalBox, const FString& Link, const FString& ExcerptName) const override;
|
|
|
|
private:
|
|
|
|
FDocumentation();
|
|
|
|
private:
|
|
|
|
TMap< FString, TWeakPtr< IDocumentationPage > > LoadedPages;
|
|
};
|