/* * Copyright (C) 2021 Riyyi * * SPDX-License-Identifier: MIT */ #ifndef PACKAGE_H #define PACKAGE_H #include #include class Package { public: Package(); virtual ~Package(); enum class Distro { Unsupported, Arch, Debian, }; void aurInstall(const std::vector& targets = {}); void install(const std::vector& targets = {}); void list(const std::vector& targets = {}); void store(const std::vector& targets = {}); private: bool distroDetect(); bool distroDependencies(); Distro m_distro { Distro::Unsupported }; }; #endif // PACKAGE_H