mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Cygwin port
This commit is contained in:
28
AerofoilX/GpLogDriver_X.h
Normal file
28
AerofoilX/GpLogDriver_X.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include "IGpLogDriver.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
class GpIOStream;
|
||||
|
||||
class GpLogDriver_X : public IGpLogDriver
|
||||
{
|
||||
public:
|
||||
GpLogDriver_X();
|
||||
|
||||
static void Init();
|
||||
|
||||
void VPrintf(Category category, const char *fmt, va_list args) override;
|
||||
void Shutdown() override;
|
||||
|
||||
static GpLogDriver_X *GetInstance();
|
||||
|
||||
private:
|
||||
void InitInternal();
|
||||
|
||||
GpIOStream *m_stream;
|
||||
bool m_isInitialized;
|
||||
|
||||
static GpLogDriver_X ms_instance;
|
||||
};
|
Reference in New Issue
Block a user