removed unused methods(BeginPlay, Tick) and added rider plugin
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
|
||||
#include "RiderOutputDevice.hpp"
|
||||
|
||||
#include "Templates/UniquePtr.h"
|
||||
|
||||
#include "lifetime/LifetimeDefinition.h"
|
||||
|
||||
#include "Logging/LogMacros.h"
|
||||
#include "Logging/LogVerbosity.h"
|
||||
#include "Modules/ModuleInterface.h"
|
||||
#include "scheduler/SingleThreadScheduler.h"
|
||||
|
||||
DECLARE_LOG_CATEGORY_EXTERN(FLogRiderLoggingModule, Log, All);
|
||||
|
||||
class FRiderLoggingModule : public IModuleInterface
|
||||
{
|
||||
public:
|
||||
FRiderLoggingModule() = default;
|
||||
virtual ~FRiderLoggingModule() override = default;
|
||||
|
||||
/** IModuleInterface implementation */
|
||||
virtual void StartupModule() override;
|
||||
virtual void ShutdownModule() override;
|
||||
virtual bool SupportsDynamicReloading() override { return true; }
|
||||
|
||||
private:
|
||||
TUniquePtr<rd::SingleThreadScheduler> LoggingScheduler;
|
||||
FRiderOutputDevice OutputDevice;
|
||||
rd::LifetimeDefinition ModuleLifetimeDef;
|
||||
};
|
||||
Reference in New Issue
Block a user