From 5b779a1aa8e59f63f26ee2fd5cec908bf5ce1159 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 4 Jan 2023 01:07:59 +0100 Subject: Added stub Json repository --- universe/src/JsonRepository.cpp | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 universe/src/JsonRepository.cpp (limited to 'universe/src/JsonRepository.cpp') diff --git a/universe/src/JsonRepository.cpp b/universe/src/JsonRepository.cpp new file mode 100644 index 0000000..ddbbfcf --- /dev/null +++ b/universe/src/JsonRepository.cpp @@ -0,0 +1,49 @@ +#include "JsonRepository.h" + +#include +#include + +#include +#include +#include + + +namespace kurator +{ +namespace universe +{ + + +JsonRepository::JsonRepository(const char*) +{ +} + + +ShipType +JsonRepository::ship_type(const std::string& id) const +{ + throw NotFound(id); +} + + +TurretType +JsonRepository::turret_type(const std::string& id) const +{ + throw NotFound(id); +} + + +void +JsonRepository::for_ship_types(std::function) const +{ +} + + +void +JsonRepository::for_turret_types(std::function) const +{ +} + + +} // namespace universe +} // namespace kurator -- cgit v1.1