Anklang-0.3.0.dev712+gdc4e642f anklang-0.3.0.dev712+gdc4e642f
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
juce-linux.hh
Go to the documentation of this file.
1 // This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
2
3#pragma once
4// Included by Juce, avoid Ase includes
5
6namespace juce {
7namespace LinuxEventLoop {
8
10void registerFdCallback (int fd, std::function<void(int)> func, short evmask = 1 /*POLLIN*/);
12void unregisterFdCallback (int fd);
13
14} // LinuxEventLoop
15} // juce
void registerFdCallback(int fd, std::function< void(int)> func, short evmask)
Register event loop callback for fd events, uses <poll.h> constants.
void unregisterFdCallback(int fd)
Unregister fd and its callback.