mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-12-29 12:19:47 +01:00
16 lines
371 B
C++
16 lines
371 B
C++
#pragma once
|
|
#include "../defines.hpp"
|
|
|
|
typedef void (*Dispatcher)(std::string);
|
|
|
|
class Keybind {
|
|
public:
|
|
Keybind(unsigned int, xcb_keysym_t, std::string, Dispatcher);
|
|
~Keybind();
|
|
|
|
EXPOSED_MEMBER(Mod, unsigned int, i);
|
|
EXPOSED_MEMBER(Keysym, xcb_keysym_t,);
|
|
EXPOSED_MEMBER(Command, std::string, sz);
|
|
EXPOSED_MEMBER(Dispatcher, Dispatcher, p);
|
|
};
|
|
|