LeviLamina
Loading...
Searching...
No Matches
SecureStorage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Core { class PathView; }
8// clang-format on
9
10class SecureStorage {
11public:
12 // member variables
13 // NOLINTBEGIN
15 // NOLINTEND
16
17public:
18 // prevent constructor by default
19 SecureStorage& operator=(SecureStorage const&);
20 SecureStorage(SecureStorage const&);
21 SecureStorage();
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26#ifdef LL_PLAT_S
27 virtual ~SecureStorage() = default;
28#else // LL_PLAT_C
29 virtual ~SecureStorage();
30#endif
31
32 virtual bool add(::std::string const& key, ::std::string const& value) = 0;
33
34 virtual bool addOrUpdate(::std::string const& key, ::std::string const& value) = 0;
35
36 virtual bool remove(::std::string const& key) = 0;
37
38 virtual bool get(::std::string const& key, ::std::string& outValue) = 0;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI explicit SecureStorage(::Core::PathView settingsPath);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCNAPI void* $ctor(::Core::PathView settingsPath);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56#ifdef LL_PLAT_C
57 MCNAPI void $dtor();
58#endif
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition PathView.h:19
MCAPI void * $ctor(::Core::PathView settingsPath)
static MCAPI void ** $vftable()
MCAPI SecureStorage(::Core::PathView settingsPath)
Definition Alias.h:14