CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/Common/Log/StdioListener.h
Views: 1401
1
#pragma once
2
3
// Copyright (C) 2003 Dolphin Project.
4
5
// This program is free software: you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation, version 2.0 or later versions.
8
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License 2.0 for more details.
13
14
// A copy of the GPL 2.0 should have been included with the program.
15
// If not, see http://www.gnu.org/licenses/
16
17
// Official SVN repository and contact information can be found at
18
// http://code.google.com/p/dolphin-emu/
19
20
#pragma once
21
22
#include <atomic>
23
24
#include "Common/Log/LogManager.h"
25
26
#ifdef _WIN32
27
#include "Common/CommonWindows.h"
28
#endif
29
30
class StdioListener : public LogListener {
31
public:
32
StdioListener();
33
void Log(const LogMessage &message) override;
34
private:
35
bool bUseColor = true;
36
};
37
38