mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-12 23:00:36 +01:00

Some checks are pending
Build Hyprland / Build Hyprland (Arch) (push) Waiting to run
Build Hyprland / Build Hyprland with Meson (Arch) (push) Waiting to run
Build Hyprland / Build Hyprland without precompiled headers (Arch) (push) Waiting to run
Build Hyprland / Build Hyprland in pure Wayland (Arch) (push) Waiting to run
Build Hyprland / Code Style (Arch) (push) Waiting to run
Nix (CI) / update-inputs (push) Waiting to run
Nix (CI) / build (push) Waiting to run
Security Checks / Flawfinder Checks (push) Waiting to run
* manifest: reject bad names from parsing * sys: restructure root functions
34 lines
No EOL
926 B
C++
34 lines
No EOL
926 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
enum eManifestType {
|
|
MANIFEST_HYPRLOAD,
|
|
MANIFEST_HYPRPM
|
|
};
|
|
|
|
class CManifest {
|
|
public:
|
|
CManifest(const eManifestType type, const std::string& path);
|
|
|
|
struct SManifestPlugin {
|
|
std::string name;
|
|
std::string description;
|
|
std::string version;
|
|
std::vector<std::string> authors;
|
|
std::vector<std::string> buildSteps;
|
|
std::string output;
|
|
int since = 0;
|
|
bool failed = false;
|
|
};
|
|
|
|
struct {
|
|
std::string name;
|
|
std::vector<std::string> authors;
|
|
std::vector<std::pair<std::string, std::string>> commitPins;
|
|
} m_repository;
|
|
|
|
std::vector<SManifestPlugin> m_plugins;
|
|
bool m_good = true;
|
|
}; |