blob: 795bb420096a4bb530b4cd459177e87997364a8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
#ifndef NEKIT_TOML_H
#define NEKIT_TOML_H
#include <NeKit/Config.h>
#include <NeKit/KString.h>
namespace Kernel {
/// \brief TOML Object Handle
class TOMLObject final {
public:
explicit TOMLObject() = delete;
~TOMLObject() = default;
STATIC TOMLObject kNull;
private:
Bool mUndefined{YES}; // is this instance undefined?
KString mKey;
KString mValue;
};
} // namespace Kernel
#endif
|