mirror of
https://github.com/litruv/TobiiEyetracking.git
synced 2026-07-25 03:06:10 +10:00
Added Tobii from 4.23 + updated
This commit is contained in:
30
Source/TobiiCore/Private/UserGuide/TobiiEditorExtension.h
Normal file
30
Source/TobiiCore/Private/UserGuide/TobiiEditorExtension.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/******************************************************************************
|
||||
* Copyright 2017- Tobii Technology AB. All rights reserved.
|
||||
*
|
||||
* @author Temaran | Fredrik Lindh | fredrik.lindh@tobii.com | https://github.com/Temaran
|
||||
******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#if WITH_EDITOR
|
||||
|
||||
#include "../TobiiCoreModule.h"
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
|
||||
class FTobiiEditorExtension
|
||||
{
|
||||
public:
|
||||
FTobiiEditorExtension(FTobiiCoreModule* InCoreModule);
|
||||
~FTobiiEditorExtension();
|
||||
void Initialize();
|
||||
|
||||
private:
|
||||
FTobiiCoreModule* CoreModule;
|
||||
FDelegateHandle LoadedDelegateHandle;
|
||||
bool bIsEditorInitialized;
|
||||
|
||||
void OnEditorLoaded(SWindow& SlateWindow, void* ViewportRHIPtr);
|
||||
};
|
||||
|
||||
#endif //WITH_EDITOR
|
||||
Reference in New Issue
Block a user