From dfa5a732bab2bf4c50c6b193cb49cd3a67aef720 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 10 Mar 2025 12:16:31 +0100 Subject: Display packages installed from a repository --- include/katja/database.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include/katja/database.hpp') diff --git a/include/katja/database.hpp b/include/katja/database.hpp index d4d99e6..ee4816e 100644 --- a/include/katja/database.hpp +++ b/include/katja/database.hpp @@ -1,6 +1,12 @@ +/* + * 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 namespace katja { @@ -21,8 +27,11 @@ namespace katja database_package(const std::string& fullname); + bool operator<(const database_package& that) const; + bool operator>(const database_package& that) const; + std::string to_string() const; }; - + std::multimap read_installed_database(); } -- cgit v1.2.3