From 20f3d98d637c5992c53f19590c15fa923f4eedcd Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 19 Apr 2025 14:48:48 +0200 Subject: Move katja into a separate repository --- include/katja/repository.hpp | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 include/katja/repository.hpp (limited to 'include/katja/repository.hpp') diff --git a/include/katja/repository.hpp b/include/katja/repository.hpp deleted file mode 100644 index cde9ca0..0000000 --- a/include/katja/repository.hpp +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - */ -#pragma once - -#include -#include - -#include "katja/database.hpp" - -namespace katja -{ - struct package_identifier - { - const std::string name; - const std::string version; - const std::string architecture; - const std::string data; - - std::string to_string() const; - }; - - class repository - { - public: - virtual std::vector get_updates(const package_database& database) = 0; - virtual std::vector search_names(const std::string& architecture, - const std::string& needle) = 0; - }; -} -- cgit v1.2.3