2019-12-26 15:32:37 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2015-08-10 08:14:45 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2021-11-16 21:12:12 -05:00
|
|
|
#include "CoreTypes.h"
|
2022-06-07 11:17:10 -04:00
|
|
|
#include "DerivedDataLegacyCacheStore.h"
|
2021-11-16 21:12:12 -05:00
|
|
|
|
2022-02-14 14:43:39 -05:00
|
|
|
namespace UE::DerivedData
|
2021-04-28 16:22:18 -04:00
|
|
|
{
|
|
|
|
|
|
2022-06-07 11:17:10 -04:00
|
|
|
class IPakFileCacheStore : public ILegacyCacheStore
|
2015-08-10 08:14:45 -04:00
|
|
|
{
|
|
|
|
|
public:
|
2022-01-11 14:41:53 -05:00
|
|
|
virtual void Close() = 0;
|
2022-06-07 11:17:10 -04:00
|
|
|
virtual bool IsWritable() const = 0;
|
2022-01-11 14:41:53 -05:00
|
|
|
virtual bool SaveCache() = 0;
|
|
|
|
|
virtual bool LoadCache(const TCHAR* InFilename) = 0;
|
2022-02-14 14:43:39 -05:00
|
|
|
virtual void MergeCache(IPakFileCacheStore* OtherPak) = 0;
|
2022-01-11 14:41:53 -05:00
|
|
|
virtual const FString& GetFilename() const = 0;
|
2015-08-10 08:14:45 -04:00
|
|
|
|
2022-01-11 14:41:53 -05:00
|
|
|
static bool SortAndCopy(const FString& InputFilename, const FString& OutputFilename);
|
2015-08-10 08:14:45 -04:00
|
|
|
};
|
2021-04-28 16:22:18 -04:00
|
|
|
|
2022-02-14 14:43:39 -05:00
|
|
|
} // UE::DerivedData
|