summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/TOML.h
blob: 6260283787bdb132f484f4be8bc5a95de3b7c305 (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
// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/nekernel-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    fUndefined{YES};  // is this instance undefined?
  KString fKey;
  KString fValue;
};
}  // namespace Kernel

#endif