error handling layer implemented, header boilerplated for licensing info

This commit is contained in:
Chris Punches
2025-02-27 01:57:21 -05:00
parent e30ed309bd
commit a5e2c86882
14 changed files with 855 additions and 204 deletions

View File

@@ -1,9 +1,37 @@
/**
* @file info.cpp
* @brief Implementation of the DPM info module
*
* Provides information about the DPM system through a module interface.
* This module supports commands for displaying version information,
* system details, and module help documentation.
*
* @copyright Copyright (c) 2025 SILO GROUP LLC
* @author Chris Punches <chris.punches@silogroup.org>
*
* Part of the Dark Horse Linux Package Manager (DPM)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* For bug reports or contributions, please contact the dhlp-contributors
* mailing list at: https://lists.darkhorselinux.org/mailman/listinfo/dhlp-contributors
*/
#include <iostream>
#include <string>
#include <cstring>
#include <vector>
#include "../include/module_interface.hpp"
#include <gpgme.h>
// Implementation of the info module
// This module provides information about the DPM system