2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#include "FriendsAndChatPrivatePCH.h"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Implements the FriendsAndChat module.
|
|
|
|
|
*/
|
|
|
|
|
class FFriendsAndChatModule
|
|
|
|
|
: public IFriendsAndChatModule
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
2014-09-21 20:35:48 -04:00
|
|
|
// IFriendsAndChatModule interface
|
|
|
|
|
|
2014-11-03 15:47:28 -05:00
|
|
|
virtual TSharedRef<IFriendsAndChatManager> GetFriendsAndChatManager() override
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2014-11-03 15:47:28 -05:00
|
|
|
return FFriendsAndChatManager::Get();
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
2014-09-21 20:35:48 -04:00
|
|
|
// IModuleInterface interface
|
|
|
|
|
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void StartupModule() override
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
FFriendsAndChatManager::Get();
|
|
|
|
|
}
|
|
|
|
|
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void ShutdownModule() override
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
FFriendsAndChatManager::Shutdown();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private:
|
2014-09-21 20:35:48 -04:00
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
};
|
|
|
|
|
|
2014-09-21 20:35:48 -04:00
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
IMPLEMENT_MODULE( FFriendsAndChatModule, FriendsAndChat );
|