Files
Aerofoil/AerofoilX/GpLogDriver_X.h
Madthijs bf1dad34c3 It's alive!!! 🦄
2021-04-13 17:18:54 +02:00

29 lines
432 B
C++

#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;
};