diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-03-12 13:04:58 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-03-12 13:04:58 +0100 |
| commit | 67d798dcb056b815b5439b05bd823a4a46843899 (patch) | |
| tree | 582fea4b04a2bba623c95264daf009d4e7148aca /include/katja/repository.hpp | |
| parent | dfa5a732bab2bf4c50c6b193cb49cd3a67aef720 (diff) | |
| download | kazbek-67d798dcb056b815b5439b05bd823a4a46843899.tar.gz | |
katja: Show only updates
Diffstat (limited to 'include/katja/repository.hpp')
| -rw-r--r-- | include/katja/repository.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/katja/repository.hpp b/include/katja/repository.hpp index ca20277..0a799bd 100644 --- a/include/katja/repository.hpp +++ b/include/katja/repository.hpp @@ -5,6 +5,26 @@ */ #pragma once +#include <string> +#include <vector> + +#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<package_identifier> get_updates(const package_database& database) = 0; + }; } |
