Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
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 Synergy App 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
19
class
ArchLogWindows
:
public
IArchLog
20
{
21
public
:
22
ArchLogWindows
();
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
30
private
:
31
HANDLE m_eventLog;
32
};
name
static const struct sockaddr FAR * name
Definition
ArchNetworkWinsock.cpp:29
IArchLog.h
ArchLogWindows::closeLog
void closeLog() override
Close the log.
Definition
ArchLogWindows.cpp:29
ArchLogWindows::openLog
void openLog(const QString &name) override
Open the log.
Definition
ArchLogWindows.cpp:22
ArchLogWindows::writeLog
void writeLog(LogLevel::Level, const QString &) override
Write to the log.
Definition
ArchLogWindows.cpp:37
ArchLogWindows::ArchLogWindows
ArchLogWindows()
Definition
ArchLogWindows.cpp:17
ArchLogWindows::~ArchLogWindows
~ArchLogWindows() override=default
IArchLog
Interface for architecture dependent logging.
Definition
IArchLog.h:21
LogLevel::Level
Level
Log levels.
Definition
LogLevel.h:22
src
lib
arch
win32
ArchLogWindows.h
Generated by
1.18.0