mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 11:05:58 +01:00
parent
b5b1c0137d
commit
dab149e4a6
3 changed files with 3 additions and 1 deletions
|
@ -70,3 +70,5 @@ struct SHyprCtlCommand {
|
||||||
bool exact = true;
|
bool exact = true;
|
||||||
std::function<std::string(eHyprCtlOutputFormat, std::string)> fn;
|
std::function<std::string(eHyprCtlOutputFormat, std::string)> fn;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef std::function<void(void*, SCallbackInfo&, std::any)> HOOK_CALLBACK_FN;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include <hyprlang.hpp>
|
#include <hyprlang.hpp>
|
||||||
#include "../debug/Log.hpp"
|
#include "../debug/Log.hpp"
|
||||||
#include "../macros.hpp"
|
#include "../macros.hpp"
|
||||||
|
#include "ConfigManager.hpp"
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class CConfigValue {
|
class CConfigValue {
|
||||||
|
|
|
@ -29,7 +29,6 @@ Feel like the API is missing something you'd like to use in your plugin? Open an
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
typedef std::function<void(void*, SCallbackInfo&, std::any)> HOOK_CALLBACK_FN;
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
std::string name;
|
std::string name;
|
||||||
std::string description;
|
std::string description;
|
||||||
|
|
Loading…
Reference in a new issue