Use native tribufu sdk

This commit is contained in:
2024-08-25 16:29:26 -03:00
parent 60126abfa5
commit 5eb1e81f19
32 changed files with 98 additions and 947 deletions

20
include/tribufu++/sdk.h Normal file
View File

@ -0,0 +1,20 @@
// Copyright (c) Tribufu. All Rights Reserved.
#pragma once
#include <tribufu/sdk.h>
namespace tribufu
{
class TRIBUFU_API TribufuSdk
{
public:
static bool Initialize();
static void Shutdown();
static bool Ping();
static void PingAsync(void *client_date, TribufuSdkPingCallback callback);
private:
static void PingCallbackHandler(void *client_data, bool result);
};
}