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