diff options
| author | Amlal <amlal@zka.com> | 2024-09-20 15:50:58 +0200 |
|---|---|---|
| committer | Amlal <amlal@zka.com> | 2024-09-20 15:50:58 +0200 |
| commit | e59596db6f3e92098fdc0c3715f0a41cd10a0333 (patch) | |
| tree | d2d126ce86f452add889df780897a2242de73e0e /src | |
| parent | 602a5b177636ed55e950b239eedfc0d3217b97e1 (diff) | |
Add new contract for buildable manifests.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/IManifestBuilder.cxx | 1 | ||||
| -rw-r--r-- | src/JSONManifestBuilder.cxx (renamed from src/ManifestBuilder.cxx) | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/IManifestBuilder.cxx b/src/IManifestBuilder.cxx new file mode 100644 index 0000000..c1dbe51 --- /dev/null +++ b/src/IManifestBuilder.cxx @@ -0,0 +1 @@ +#include <IManifestBuilder.hxx> diff --git a/src/ManifestBuilder.cxx b/src/JSONManifestBuilder.cxx index 70f3475..d456bb7 100644 --- a/src/ManifestBuilder.cxx +++ b/src/JSONManifestBuilder.cxx @@ -5,7 +5,7 @@ // Created by Amlal on 6/20/24. // -#include <manifest_builder.hxx> +#include <JSONManifestBuilder.hxx> #include <json.hxx> @@ -23,7 +23,7 @@ using json = nlohmann::json; /// @param arg_val filename path. /// @retval true succeeded. /// @retval false failed. -bool ManifestBuilder::buildJson(int arg_sz, const char* arg_val) +bool JSONManifestBuilder::Build(int arg_sz, const char* arg_val) { std::string path; |
