tdesktop/Telegram/SourceFiles/core/base_integration.h

30 lines
778 B
C
Raw Normal View History

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "base/integration.h"
namespace Core {
2021-04-20 12:40:54 +00:00
class BaseIntegration final : public base::Integration {
public:
BaseIntegration(int argc, char *argv[]);
void enterFromEventLoop(FnMut<void()> &&method) override;
2021-04-20 12:40:54 +00:00
bool logSkipDebug() override;
void logMessageDebug(const QString &message) override;
2019-11-05 10:23:09 +00:00
void logMessage(const QString &message) override;
void logAssertionViolation(const QString &info) override;
2022-09-25 12:17:34 +00:00
void setCrashAnnotation(
const std::string &key,
const QString &value) override;
};
} // namespace Core