Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
signal_set.h
Go to the documentation of this file.
1
/* Libmacro - A multi-platform, extendable macro and hotkey C library
2
Copyright (C) 2013 Jonathan Pelletier, New Paradigm Software
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 2.1 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public
15
License along with this library; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
22
#ifndef MCR_BASE_SIGNAL_SET_H_
23
#define MCR_BASE_SIGNAL_SET_H_
24
25
#include "
mcr/base/signal.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
32
struct
mcr_SignalSet
{
33
struct
mcr_context
*ctx;
34
bool
block_flag;
35
#ifndef signals
36
struct
mcr_Signal
*signals;
37
#endif
38
size_t
signal_count;
39
};
40
41
MCR_API
bool
mcr_SignalSet_receive(
struct
mcr_DispatchReceiver
42
*dispatchReceiver,
struct
mcr_Signal
*signalPt,
unsigned
int
mods);
43
44
#ifdef __cplusplus
45
}
46
#endif
47
48
#endif
mcr_SignalSet
Definition:
signal_set.h:32
mcr_context
Definition:
context.h:39
signal.h
mcr_Signal - Signal to send or dispatch
mcr_Signal
Definition:
signal.h:38
mcr_DispatchReceiver
Definition:
types.h:58
mcr
base
signal_set.h
Generated on Sun Sep 27 2020 01:58:02 for Libmacro by
1.8.12