Deskflow 1.22.0.197
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) 2012 - 2016 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7
8#pragma once
9
10#include "base/LogLevel.h"
11#include "common/IInterface.h"
12
14
18class IArchLog : public IInterface
19{
20public:
22
23
25
29 virtual void openLog(const char *name) = 0;
30
32
35 virtual void closeLog() = 0;
36
38
44 virtual void showLog(bool showIfEmpty) = 0;
45
47
50 virtual void writeLog(LogLevel, const char *) = 0;
51
53};
static const struct sockaddr FAR * name
Definition ArchNetworkWinsock.cpp:27
LogLevel
Log levels.
Definition LogLevel.h:15
Interface for architecture dependent logging.
Definition IArchLog.h:19
virtual void openLog(const char *name)=0
Open the log.
virtual void closeLog()=0
Close the log.
virtual void writeLog(LogLevel, const char *)=0
Write to the log.
virtual void showLog(bool showIfEmpty)=0
Show the log.
Base class of interfaces.
Definition IInterface.h:18