Skip to content
Snippets Groups Projects
Select Git revision
  • a865152ea24b896ea1e405ba732b9d72db457004
  • 5.4 default protected
  • 5.5
  • dev/5.5
  • dev/5.4
  • dev/5.3_downgrade
  • feature/experimenttime_hack
  • 5.3 protected
  • _IntenSelect5.3
  • IntenSelect5.3
  • 4.27 protected
  • 4.26 protected
  • 5.0 protected
  • 4.22 protected
  • 4.21 protected
  • UE5.4-2024.1
  • UE5.4-2024.1-rc1
  • UE5.3-2023.1-rc3
  • UE5.3-2023.1-rc2
  • UE5.3-2023.1-rc
20 results

BP_WidgetDemo.uasset

Blame
  • NDisplayLaunchButton.h 1.31 KiB
    // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
    
    #pragma once
    
    #include "CoreMinimal.h"
    #include "Modules/ModuleManager.h"
    #include "NDisplayLaunchButtonSettings.h"
    #include "Logging/LogMacros.h"
    #include "Framework/MultiBox/MultiBoxBuilder.h"
    
    class FToolBarBuilder;
    class FMenuBuilder;
    
    DECLARE_LOG_CATEGORY_EXTERN(LogNDisplayLaunchButton, Log, All);
    
    class FNDisplayLaunchButtonModule : public IModuleInterface
    {
    public:
    
    	/** IModuleInterface implementation */
    	virtual void StartupModule() override;
    	virtual void ShutdownModule() override;
    	static void ChangeNDisplayStateAndStoreConfig(bool NewState, bool& OldState);
    	bool ChangePluginStateAndStoreConfig(FString PluginName, bool NewState, bool& OldState) const;
    	static FString GetEditorExecutableName();
    	static FString GetFilePathInProject(FString FileName);
    	static FString GetConfigPath(FString ConfigName);
    	static void KillProcesses(FProcHandle Processes[], const int Num_Nodes);
    
    	/** This function will be bound to Command. */
    	void PluginButtonClicked();
    
    	void SendToDTrack(FString Address, int Port, FString Message);
    	ProjectorDisplayType SwitchProjectorToState(FString Address, int Port, ProjectorDisplayType State);
    private:
    	bool SteamVRState = false;
    	bool OculusVRState = false;
    	bool nDisplayState = false;
    };