mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
26 lines
491 B
C++
26 lines
491 B
C++
#pragma once
|
|
|
|
#include <qdatetime.h>
|
|
#include <qstring.h>
|
|
|
|
struct InstanceInfo {
|
|
QString configPath;
|
|
QString shellId;
|
|
QString initialWorkdir;
|
|
QDateTime launchTime;
|
|
bool noColor = false;
|
|
bool sparseLogsOnly = false;
|
|
};
|
|
|
|
QDataStream& operator<<(QDataStream& stream, const InstanceInfo& info);
|
|
QDataStream& operator>>(QDataStream& stream, InstanceInfo& info);
|
|
|
|
namespace qs::crash {
|
|
|
|
struct CrashInfo {
|
|
int logFd = -1;
|
|
|
|
static CrashInfo INSTANCE; // NOLINT
|
|
};
|
|
|
|
} // namespace qs::crash
|