Deskflow 1.26.0.207
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IArchLog.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2025 - 2026 Deskflow Developers
4 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
5 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
6 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7 */
8
9#pragma once
10
11#include <QString>
12
13#include "common/LogLevel.h"
14
16
21{
22public:
23 virtual ~IArchLog() = default;
25
26
28
32 virtual void openLog(const QString &name) = 0;
33
35
38 virtual void closeLog() = 0;
39
41
44 virtual void writeLog(LogLevel::Level, const QString &) = 0;
46};
static const struct sockaddr FAR * name
Definition ArchNetworkWinsock.cpp:28
Interface for architecture dependent logging.
Definition IArchLog.h:21
virtual ~IArchLog()=default
virtual void writeLog(LogLevel::Level, const QString &)=0
Write to the log.
virtual void openLog(const QString &name)=0
Open the log.
virtual void closeLog()=0
Close the log.
Level
Log levels.
Definition LogLevel.h:22