Deskflow 1.26.0.207
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ArchLogWindows.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 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 "arch/IArchLog.h"
12
13#define WIN32_LEAN_AND_MEAN
14#include <Windows.h>
15
16#define ARCH_LOG ArchLogWindows
17
20{
21public:
23 ~ArchLogWindows() override = default;
24
25 // IArchLog overrides
26 void openLog(const QString &name) override;
27 void closeLog() override;
28 void writeLog(LogLevel::Level, const QString &) override;
29
30private:
31 HANDLE m_eventLog;
32};
static const struct sockaddr FAR * name
Definition ArchNetworkWinsock.cpp:28
void closeLog() override
Close the log.
Definition ArchLogWindows.cpp:29
void openLog(const QString &name) override
Open the log.
Definition ArchLogWindows.cpp:22
void writeLog(LogLevel::Level, const QString &) override
Write to the log.
Definition ArchLogWindows.cpp:37
ArchLogWindows()
Definition ArchLogWindows.cpp:17
~ArchLogWindows() override=default
Interface for architecture dependent logging.
Definition IArchLog.h:21
Level
Log levels.
Definition LogLevel.h:22