mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-27 09:53:47 -07:00
34 lines
926 B
C++
34 lines
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;
|
|
}; |