Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
context.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
23
#ifndef MCR_CONTEXT_H_
24
#define MCR_CONTEXT_H_
25
26
#include "
mcr/util/util.h
"
27
#include "
mcr/base/base.h
"
28
#include "
mcr/standard/standard.h
"
29
#include "
mcr/intercept/intercept.h
"
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
39
struct
mcr_context
{
41
unsigned
int
modifiers
;
42
struct
mcr_base
base;
43
struct
mcr_standard
standard;
44
struct
mcr_intercept
intercept;
45
};
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
intercept.h
Intercept reads from hardware, and may block.
mcr_context
Definition:
context.h:39
mcr_standard
Definition:
standard.h:55
util.h
Utilities for Libmacro.
base.h
Base module implements mcr_base - Libmacro first module.
mcr_base
Definition:
base.h:45
mcr_intercept
Definition:
intercept.h:37
mcr_context::modifiers
unsigned int modifiers
Definition:
context.h:41
standard.h
Standard signal and trigger types.
mcr
context.h
Generated on Sun Sep 27 2020 01:58:02 for Libmacro by
1.8.12