LeviLamina
Loading...
Searching...
No Matches
IContentKeyProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8// auto generated forward declare list
9// clang-format off
10class ContentIdentity;
11// clang-format on
12
14public:
15 // virtual functions
16 // NOLINTBEGIN
17 virtual ~IContentKeyProvider() /*override*/ = default;
18
19 virtual ::std::string getContentKey(::ContentIdentity const&) const = 0;
20
21 virtual ::std::string getAlternateContentKey(::ContentIdentity const&) const;
22
23 virtual bool requireEncryptedReads() const;
24
25 virtual void setTempContentKeys(::std::unordered_map<::ContentIdentity, ::std::string> const&) = 0;
26
27 virtual void clearTempContentKeys() = 0;
28 // NOLINTEND
29
30public:
31 // virtual function thunks
32 // NOLINTBEGIN
33 MCNAPI ::std::string $getAlternateContentKey(::ContentIdentity const&) const;
34
35 MCNAPI bool $requireEncryptedReads() const;
36
37
38 // NOLINTEND
39};
Definition EnableNonOwnerReferences.h:7
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13
MCAPI::std::string $getAlternateContentKey(::ContentIdentity const &) const
MCAPI bool $requireEncryptedReads() const