mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
22 lines
587 B
C++
Executable File
22 lines
587 B
C++
Executable File
#pragma once
|
|
|
|
#include <string>
|
|
|
|
// Error reporting with levels similar to Android and are automatically forwarded to Continuous integration server
|
|
enum ErrorLevel {
|
|
WARNLVL,
|
|
ERRORLVL,
|
|
INFOLVL,
|
|
DEBUGLVL
|
|
};
|
|
|
|
extern void KOutputDebug(ErrorLevel lvl, const char *fmt ...);
|
|
|
|
extern std::string GetFileName(const std::string &thePath, bool noExtension);
|
|
|
|
extern std::string GetFileDir(const std::string &thePath, bool withSlash);
|
|
|
|
extern std::string GetFileExt(const std::string &thePath);
|
|
|
|
extern int CompareNoCase(const std::string &str1, const std::string &str2);
|