summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/TOML.h
blob: 8bbae7ef1029372b79a7c407bee20a02e44822f4 (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
30
// SPDX-License-Identifier: Apache-2.0
// 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