-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Migrate from tox callbacks to tox events.
- Loading branch information
Showing
18 changed files
with
411 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* SPDX-License-Identifier: GPL-3.0-or-later | ||
* Copyright © 2024 The TokTok team. | ||
*/ | ||
|
||
#include "conferencetype.h" | ||
|
||
#include <QDebug> | ||
|
||
QDebug operator<<(QDebug debug, ConferenceType type) | ||
{ | ||
switch (type) { | ||
case ConferenceType::UNKNOWN: | ||
debug << "UNKNOWN"; | ||
break; | ||
case ConferenceType::TEXT: | ||
debug << "TEXT"; | ||
break; | ||
case ConferenceType::AV: | ||
debug << "AV"; | ||
break; | ||
} | ||
return debug; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* SPDX-License-Identifier: GPL-3.0-or-later | ||
* Copyright © 2024 The TokTok team. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <QMetaType> | ||
|
||
enum class ConferenceType | ||
{ | ||
UNKNOWN, | ||
TEXT, | ||
AV, | ||
}; | ||
Q_DECLARE_METATYPE(ConferenceType) | ||
|
||
QDebug operator<<(QDebug debug, ConferenceType type); |
Oops, something went wrong.