libpromeki
1.0.0-alpha
PROfessional MEdia toolKIt
Loading...
Searching...
No Matches
signalhandler.h
Go to the documentation of this file.
1
9
#pragma once
10
11
12
#include <promeki/config.h>
13
#if PROMEKI_ENABLE_CORE
14
#include <functional>
15
16
#include <
promeki/function.h
>
17
#include <
promeki/namespace.h
>
18
#include <
promeki/eventloop.h
>
19
20
PROMEKI_NAMESPACE_BEGIN
21
79
class
SignalHandler {
80
public
:
96
static
void
install();
97
112
static
void
uninstall();
113
119
static
bool
isInstalled();
120
122
using
Callback = Function<void(
int
signo)>;
123
157
static
int
subscribe(
int
signo, Callback cb);
158
170
static
void
unsubscribe(
int
handle);
171
};
172
173
PROMEKI_NAMESPACE_END
174
175
#endif
// PROMEKI_ENABLE_CORE
eventloop.h
function.h
namespace.h
include
promeki
signalhandler.h
Generated on 2026-05-21 02:27:58 from commit ffbc5cc (1.0.0-alpha).