You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
47 lines
1.4 KiB
C++
47 lines
1.4 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "IDocumentationPage.h"
|
|
|
|
class FUDNParser;
|
|
|
|
class FDocumentationPage : public IDocumentationPage
|
|
{
|
|
public:
|
|
|
|
/** Returns an instance of class containing content from the link argument */
|
|
static TSharedRef< IDocumentationPage > Create( const FString& Link, const TSharedRef< FUDNParser >& Parser );
|
|
|
|
public:
|
|
|
|
virtual ~FDocumentationPage();
|
|
virtual bool HasExcerpt( const FString& ExcerptName ) override;
|
|
virtual int32 GetNumExcerpts() const override;
|
|
virtual bool GetExcerpt( const FString& ExcerptName, FExcerpt& Excerpt) override;
|
|
virtual void GetExcerpts( /*OUT*/ TArray< FExcerpt >& Excerpts ) override;
|
|
virtual bool GetExcerptContent( FExcerpt& Excerpt ) override;
|
|
|
|
virtual FText GetTitle() override;
|
|
|
|
virtual void Reload() override;
|
|
|
|
virtual void SetTextWrapAt( TAttribute<float> WrapAt ) override;
|
|
|
|
private:
|
|
|
|
FDocumentationPage( const FString& InLink, const TSharedRef< FUDNParser >& InParser );
|
|
|
|
private:
|
|
|
|
/** The string representing the UDN page location */
|
|
FString Link;
|
|
/** The UDN parser instance used to create this page */
|
|
TSharedRef< FUDNParser > Parser;
|
|
|
|
/** The excerpts contained in this UDN page */
|
|
TArray<FExcerpt> StoredExcerpts;
|
|
/** The UDN meta data contained in this page */
|
|
FUDNPageMetadata StoredMetadata;
|
|
/** Signals if the page has been loaded */
|
|
bool IsLoaded;
|
|
}; |