diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/IManifestBuilder.hxx | 7 | ||||
| -rw-r--r-- | inc/JSONManifestBuilder.hxx | 5 | ||||
| -rw-r--r-- | inc/Macros.hxx | 5 | ||||
| -rw-r--r-- | inc/TOMLManifestBuilder.hxx | 27 | ||||
| -rw-r--r-- | inc/toml.hxx (renamed from inc/toml.hpp) | 0 |
5 files changed, 43 insertions, 1 deletions
diff --git a/inc/IManifestBuilder.hxx b/inc/IManifestBuilder.hxx index 404f8b2..71f5bf0 100644 --- a/inc/IManifestBuilder.hxx +++ b/inc/IManifestBuilder.hxx @@ -1,6 +1,11 @@ +// ============================================================= // +// btb +// Copyright ZKA Technologies. +// ============================================================= // + #pragma once -/// @brief Builder interface +/// @brief Builder interface class class IManifestBuilder { public: diff --git a/inc/JSONManifestBuilder.hxx b/inc/JSONManifestBuilder.hxx index 5e29a96..8259542 100644 --- a/inc/JSONManifestBuilder.hxx +++ b/inc/JSONManifestBuilder.hxx @@ -1,3 +1,8 @@ +// ============================================================= // +// btb +// Copyright ZKA Technologies. +// ============================================================= // + #pragma once #include <IManifestBuilder.hxx> diff --git a/inc/Macros.hxx b/inc/Macros.hxx index 433aef4..10f6e81 100644 --- a/inc/Macros.hxx +++ b/inc/Macros.hxx @@ -1,3 +1,8 @@ +// ============================================================= // +// btb +// Copyright ZKA Technologies. +// ============================================================= // + #pragma once #include <cassert> diff --git a/inc/TOMLManifestBuilder.hxx b/inc/TOMLManifestBuilder.hxx index e69de29..11406ce 100644 --- a/inc/TOMLManifestBuilder.hxx +++ b/inc/TOMLManifestBuilder.hxx @@ -0,0 +1,27 @@ +// ============================================================= // +// btb +// Copyright ZKA Technologies. +// ============================================================= // + +#pragma once + +#include <IManifestBuilder.hxx> + +/// @brief TOML builder +class TOMLManifestBuilder final : public IManifestBuilder +{ +public: + explicit TOMLManifestBuilder() = default; + virtual ~TOMLManifestBuilder() override = default; + + TOMLManifestBuilder& operator=(const TOMLManifestBuilder&) = default; + TOMLManifestBuilder(const TOMLManifestBuilder&) = default; + +public: + /// @brief Builds a TOML target. + /// @param arg_sz filename size + /// @param arg_val filename path. + /// @retval true succeeded. + /// @retval false failed. + virtual bool Build(int arg_sz, const char* arg_val) override; +}; diff --git a/inc/toml.hpp b/inc/toml.hxx index 1bb9d66..1bb9d66 100644 --- a/inc/toml.hpp +++ b/inc/toml.hxx |
