deskflow/src/lib/platform/MSWindowsDebugOutputter.cpp
sithlord48 1085df54ed refactor: Reuse compliance
build files and documentation: MIT
  images / sources: GPL-2.0-only
  breeze icons: LGPL-2.0-only
  Microsoft MSM file, vc redist license
2025-01-27 17:05:47 -05:00

42 lines
810 B
C++

/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
* SPDX-FileCopyrightText: (C) 2012 Nick Bolton
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
*/
#include "platform/MSWindowsDebugOutputter.h"
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <string>
MSWindowsDebugOutputter::MSWindowsDebugOutputter()
{
}
MSWindowsDebugOutputter::~MSWindowsDebugOutputter()
{
}
void MSWindowsDebugOutputter::open(const char *title)
{
}
void MSWindowsDebugOutputter::close()
{
}
void MSWindowsDebugOutputter::show(bool showIfEmpty)
{
}
bool MSWindowsDebugOutputter::write(ELevel level, const char *msg)
{
OutputDebugString((std::string(msg) + "\n").c_str());
return true;
}
void MSWindowsDebugOutputter::flush()
{
}