mirror of
https://git.chinosk6.cn/chinosk/gkms-local.git
synced 2026-05-19 17:49:00 +07:00
d83854c755
Fixed URL input could only enter numbers
33 lines
767 B
C++
33 lines
767 B
C++
#ifndef GAKUMAS_LOCALIFY_LOG_H
|
|
#define GAKUMAS_LOCALIFY_LOG_H
|
|
|
|
#include "../platformDefine.hpp"
|
|
|
|
#include <string>
|
|
|
|
#ifndef GKMS_WINDOWS
|
|
#include <jni.h>
|
|
#endif
|
|
|
|
|
|
namespace GakumasLocal::Log {
|
|
std::string StringFormat(const char* fmt, ...);
|
|
void LogUnityLog(int prio, const char* fmt, ...);
|
|
void LogFmt(int prio, const char* fmt, ...);
|
|
void Info(const char* msg);
|
|
void InfoFmt(const char* fmt, ...);
|
|
void Error(const char* msg);
|
|
void ErrorFmt(const char* fmt, ...);
|
|
void Debug(const char* msg);
|
|
void DebugFmt(const char* fmt, ...);
|
|
|
|
void ShowToast(const char* text);
|
|
void ShowToastFmt(const char* fmt, ...);
|
|
|
|
#ifndef GKMS_WINDOWS
|
|
void ToastLoop(JNIEnv *env, jclass clazz);
|
|
#endif
|
|
}
|
|
|
|
#endif //GAKUMAS_LOCALIFY_LOG_H
|