/usr/include/gaminggear-0/gaminggear/macro_threads.h is in libgaminggear-dev 0.15.1-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #ifndef __GAMINGGEAR_MACRO_THREADS_H__
#define __GAMINGGEAR_MACRO_THREADS_H__
/*
* This file is part of libgaminggear.
*
* libgaminggear is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* libgaminggear is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with libgaminggear. If not, see <http://www.gnu.org/licenses/>.
*/
/*! \file gaminggear/macro_threads.h
* \brief Macro threads.
*/
#include <gaminggear/macro.h>
G_BEGIN_DECLS
typedef struct _GaminggearMacroThreads GaminggearMacroThreads;
/*! \brief Create array of macro threads.
* \param size Mostly count of physical buttons that are allowed to play macros.
* \retval array That has to be freed with gaminggear_macro_threads_free().
* \since 1.0
*/
GaminggearMacroThreads *gaminggear_macro_threads_new(guint size);
/*! \brief Free array of macro threads.
* \param macro_threads
* \since 1.0
*/
void gaminggear_macro_threads_free(GaminggearMacroThreads *macro_threads);
/*! \brief Play macro in a thread.
*
* If a macro is still playing, execution of that running macro is stopped
* instead of execution of new macro.
*
* \since 1.0
*/
void gaminggear_play_macro_threaded(GaminggearMacroThreads *threads, guint index, GaminggearMacro const *macro);
G_END_DECLS
#endif
|