19 #ifndef MCR_EXTRAS_LINUX_P_EXTRAS_H_ 20 #define MCR_EXTRAS_LINUX_P_EXTRAS_H_ 22 #include "mcr/extras/base_cpp.h" 25 #include "mcr/extras/util/string.h" 29 class LibmacroPrivate;
31 class LibmacroPlatformPrivate;
35 friend class LibmacroPrivate;
36 friend class LibmacroPlatformPrivate;
43 size_t echo(
const mcr_Key &val)
const;
44 mcr_Key echoKey(
size_t echo)
const;
45 size_t setEcho(
const mcr_Key &val,
bool updateFlag =
true);
46 size_t echoCount()
const;
47 void removeEcho(
size_t code);
52 size_t grabCount()
const;
53 void setGrabCount(
size_t count,
bool updateFlag =
true);
54 String grab(
size_t index)
const;
55 void setGrab(
size_t index,
const String &value,
bool updateFlag =
true);
56 inline void setGrab(
size_t index,
const std::string &value,
bool updateFlag =
true)
58 setGrab(index,
String(value.c_str(), value.size()), updateFlag);
71 LibmacroPlatformPrivate *_private;
Read from grabbers and dispatch signals. This may block incoming events.
Libmacro, by Jonathan Pelletier, New Paradigm Software. Alpha version.