Anklang-0.3.0.dev712+gdc4e642f
anklang-0.3.0.dev712+gdc4e642f
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation
Loading...
Searching...
No Matches
ase
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
6
namespace
juce
{
7
namespace
LinuxEventLoop {
8
10
void
registerFdCallback
(
int
fd,
std::function
<
void
(
int
)> func,
short
evmask = 1
/*POLLIN*/
);
12
void
unregisterFdCallback
(
int
fd);
13
14
}
// LinuxEventLoop
15
}
// juce
std::function
juce::LinuxEventLoop::registerFdCallback
void registerFdCallback(int fd, std::function< void(int)> func, short evmask)
Register event loop callback for fd events, uses <poll.h> constants.
Definition
juce-linux.cc:102
juce::LinuxEventLoop::unregisterFdCallback
void unregisterFdCallback(int fd)
Unregister fd and its callback.
Definition
juce-linux.cc:109
juce
« « « Anklang Documentation