mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
19 lines
460 B
C++
19 lines
460 B
C++
#include "crashinfo.hpp"
|
|
|
|
#include <qdatastream.h>
|
|
|
|
QDataStream& operator<<(QDataStream& stream, const InstanceInfo& info) {
|
|
stream << info.configPath << info.shellId << info.launchTime << info.noColor;
|
|
return stream;
|
|
}
|
|
|
|
QDataStream& operator>>(QDataStream& stream, InstanceInfo& info) {
|
|
stream >> info.configPath >> info.shellId >> info.launchTime >> info.noColor;
|
|
return stream;
|
|
}
|
|
|
|
namespace qs::crash {
|
|
|
|
CrashInfo CrashInfo::INSTANCE = {}; // NOLINT
|
|
|
|
}
|