Create basic event types so that we can switch on type for live location beacons, widget and server acl events
15 lines
412 B
C++
15 lines
412 B
C++
// SPDX-FileCopyrightText: 2024 James Graham <james.h.graham@protonmail.com>
|
|
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
|
|
#pragma once
|
|
|
|
#include <Quotient/events/simplestateevents.h>
|
|
|
|
namespace Quotient
|
|
{
|
|
|
|
// Defined so we can directly switch on type.
|
|
DEFINE_SIMPLE_STATE_EVENT(WidgetEvent, "im.vector.modular.widgets", QString, name, "name")
|
|
|
|
} // namespace Quotient
|