AkUnrealEditorHelper.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*******************************************************************************
  2. The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
  3. Technology released in source code form as part of the game integration package.
  4. The content of this file may not be used without valid licenses to the
  5. AUDIOKINETIC Wwise Technology.
  6. Note that the use of the game engine is subject to the Unreal(R) Engine End User
  7. License Agreement at https://www.unrealengine.com/en-US/eula/unreal
  8. License Usage
  9. Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
  10. this file in accordance with the end user license agreement provided with the
  11. software or, alternatively, in accordance with the terms contained
  12. in a written agreement between you and Audiokinetic Inc.
  13. Copyright (c) 2023 Audiokinetic Inc.
  14. *******************************************************************************/
  15. #pragma once
  16. #if WITH_EDITOR
  17. #include "Engine/EngineTypes.h"
  18. #include "Input/Reply.h"
  19. DECLARE_DELEGATE_RetVal(FReply, FOnButtonClickedMigration);
  20. namespace AkUnrealEditorHelper
  21. {
  22. AKAUDIO_API void ShowEventBasedPackagingMigrationDialog(FOnButtonClickedMigration in_OnClickedYes, FOnButtonClickedMigration in_OnClickedNo);
  23. AKAUDIO_API void SanitizePath(FString& Path, const FString& PreviousPath, const FText& DialogMessage);
  24. AKAUDIO_API bool SanitizeFolderPathAndMakeRelativeToContentDir(FString& Path, const FString& PreviousPath, const FText& DialogMessage);
  25. AKAUDIO_API bool SaveConfigFile(UObject* ConfigObject);
  26. AKAUDIO_API void DeleteOldSoundBanks();
  27. AKAUDIO_API FString GetLegacySoundBankDirectory();
  28. AKAUDIO_API FString GetContentDirectory();
  29. AKAUDIO_API void DeleteLegacySoundBanks();
  30. extern AKAUDIO_API const TCHAR* LocalizedFolderName;
  31. }
  32. #endif