Add switch support (BROKEN) and TessesFrameworkFeatures.h and CertificateChain.hpp will be installed properly
This commit is contained in:
@ -30,9 +30,24 @@
|
||||
namespace Tesses::Framework
|
||||
{
|
||||
void TF_Init();
|
||||
void TF_InitWithConsole();
|
||||
void TF_ConnectToSelf(uint16_t port);
|
||||
void TF_RunEventLoop();
|
||||
void TF_RunEventLoopItteration();
|
||||
bool TF_IsRunning();
|
||||
void TF_Quit();
|
||||
bool TF_GetConsoleEventsEnabled();
|
||||
void TF_SetConsoleEventsEnabled(bool flag);
|
||||
void TF_InitConsole();
|
||||
#define TESSESFRAMEWORK_LOGTOFILE
|
||||
#if defined(TESSESFRAMEWORK_LOGTOFILE)
|
||||
void TF_Log(std::string dataToLog);
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(TESSESFRAMEWORK_LOGTOFILE)
|
||||
#define TF_LOG(log) Tesses::Framework::TF_Log(log)
|
||||
#else
|
||||
#define TF_LOG(log)
|
||||
#endif
|
||||
}
|
||||
@ -15,6 +15,7 @@ namespace Tesses::Framework::Streams
|
||||
TcpServer(std::string ip, uint16_t port, int32_t backlog);
|
||||
NetworkStream* GetStream(std::string& ip, uint16_t& port);
|
||||
~TcpServer();
|
||||
bool IsValid();
|
||||
void Close();
|
||||
};
|
||||
class NetworkStream : public Stream {
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
#include <windows.h>
|
||||
#elif defined(GEKKO)
|
||||
#include <ogc/lwp.h>
|
||||
#elif defined(__SWITCH__)
|
||||
#else
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user