2022-10-05 20:50:17 +00:00
|
|
|
#ifndef __TRACYFILESELECTOR_HPP__
|
|
|
|
#define __TRACYFILESELECTOR_HPP__
|
|
|
|
|
2022-10-06 15:35:07 +00:00
|
|
|
#include <functional>
|
2022-10-05 20:50:17 +00:00
|
|
|
|
|
|
|
namespace tracy::Fileselector
|
|
|
|
{
|
|
|
|
|
|
|
|
void Init();
|
|
|
|
void Shutdown();
|
2022-10-29 22:36:07 +00:00
|
|
|
bool HasFailed();
|
2022-10-05 20:50:17 +00:00
|
|
|
|
2023-04-16 14:44:18 +00:00
|
|
|
void OpenFile( const char* ext, const char* desc, const std::function<void(const char*)>& callback );
|
|
|
|
void SaveFile( const char* ext, const char* desc, const std::function<void(const char*)>& callback );
|
2022-10-05 20:50:17 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|