Loading...
Searching...
No Matches
Trait.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith. All rights reserved.
2// Malena Framework — Proprietary Software. See LICENSE for terms.
3
4//
5// Created by Dave Smith on 3/11/26.
6//
7
8#ifndef MALENA_TRAIT_H
9#define MALENA_TRAIT_H
10
13
14namespace ml
15{
35 class MALENA_API Trait {};
36
63 template<typename Manifest>
64 class TraitWith : public Trait,
65 public ml::Customizable<Manifest>
66 {};
67
68} // namespace ml
69
70#endif // MALENA_TRAIT_H
Tags a class with a manifest type and wires in its State manager.
Empty marker base class for all Malena traits.
Definition Trait.h:35
Base for traits that declare a manifest.
Definition Trait.h:66
#define MALENA_API
Definition Component.h:22