1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00
Aquaria/BBGE/OSFunctions.h
fgenesis 91b7c0bf3f Support _mods/modname/mod-info.xml in addition to the old _mods/modname.xml
Needs directory enumeration; I'm not sure that it builds on linux.
Will fix if it doesn't.
2024-11-04 22:38:29 +01:00

22 lines
750 B
C++

#ifndef BBGE_OSFUNCTIONS_H
#define BBGE_OSFUNCTIONS_H
#include <string>
void initIcon(void *screen);
void destroyIcon();
void messageBox(const std::string &title, const std::string& msg);
typedef void (*FileIterationCallback)(const std::string &filename, void *param);
void forEachFile(const std::string& inpath, std::string type, FileIterationCallback callback, void *param = 0);
void forEachDir(const std::string& inpath, FileIterationCallback callback, void *param = 0);
std::string adjustFilenameCase(const char *_buf);
std::string adjustFilenameCase(const std::string&);
bool createDir(const std::string& d);
void triggerBreakpoint();
void openURL(const std::string &url);
std::string getSystemLocale();
std::string getWorkingDir();
#endif