Files
UnrealEngineUWP/Engine/Source/Runtime/FriendsAndChat/Public/Interfaces/IFriendsAndChatModule.h
ryan durand 0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00

37 lines
906 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Delegates/Delegate.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
DECLARE_DELEGATE_RetVal(bool, FFriendsSystemReady )
/**
* Interface for the Friends and chat manager.
*/
class IFriendsAndChatModule
: public IModuleInterface
{
public:
/**
* Singleton-like access to this module's interface. This is just for convenience!
* Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
*
* @return Returns singleton instance, loading the module on demand if needed
*/
static inline IFriendsAndChatModule& Get()
{
return FModuleManager::LoadModuleChecked<IFriendsAndChatModule>("FriendsAndChat");
}
virtual void ShutdownStyle() = 0;
public:
/** Virtual destructor. */
virtual ~IFriendsAndChatModule() { }
};