summaryrefslogtreecommitdiff
path: root/src/tools/controller/interrupthandler.h
blob: c8963decf9129ec29604ffb954be1ec202c641a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2021 The Qt Company Ltd.
// Copyright (C) 2019 Luxoft Sweden AB
// Copyright (C) 2018 Pelagicore AG
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <functional>
#include <QtAppManCommon/global.h>

QT_BEGIN_NAMESPACE_AM

class InterruptHandler
{
public:
    static void install(const std::function<void(int)> &handler);
};

QT_END_NAMESPACE_AM