1/*
2 * LegacyClonk
3 *
4 * Copyright (c) 2020-2023, The LegacyClonk Team and contributors
5 *
6 * Distributed under the terms of the ISC license; see accompanying file
7 * "COPYING" for details.
8 *
9 * "Clonk" is a registered trademark of Matthes Bender, used with permission.
10 * See accompanying file "TRADEMARK" for details.
11 *
12 * To redistribute this file separately, substitute the full license texts
13 * for the above references.
14 */
15
16#pragma once
17
18#include <string_view>
19
20class C4ToastEventHandler
21{
22public:
23 virtual ~C4ToastEventHandler() = default;
24
25public:
26 virtual void Activated() {}
27 virtual void Dismissed() {}
28 virtual void Failed() { }
29 virtual void OnAction(std::string_view action) { (void) action; }
30};
31