le2d
v0.4.7
2D game engine framework
Loading...
Searching...
No Matches
store.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
le2d/tweak/tweakable.hpp
"
3
#include <klib/base_types.hpp>
4
#include <gsl/pointers>
5
6
namespace
le::tweak
{
7
class
IStore
:
public
klib::Polymorphic {
8
public
:
9
virtual
void
add_tweakable
(std::string_view
id
, gsl::not_null<ITweakable*> tweakable) = 0;
10
virtual
void
remove_tweakable
(std::string_view
id
) = 0;
11
};
12
}
// namespace le::tweak
le::tweak::IStore
Definition
store.hpp:7
le::tweak::IStore::remove_tweakable
virtual void remove_tweakable(std::string_view id)=0
le::tweak::IStore::add_tweakable
virtual void add_tweakable(std::string_view id, gsl::not_null< ITweakable * > tweakable)=0
le::tweak
Definition
parser.hpp:7
tweakable.hpp
lib
include
le2d
tweak
store.hpp
Generated by
1.9.8