tracy/server/TracyFileselector.hpp

19 lines
428 B
C++
Raw Normal View History

2022-10-05 20:50:17 +00:00
#ifndef __TRACYFILESELECTOR_HPP__
#define __TRACYFILESELECTOR_HPP__
#include <functional>
2022-10-05 20:50:17 +00:00
namespace tracy::Fileselector
{
void Init();
void Shutdown();
// Will return false if file selector cannot be presented to the user.
bool OpenFile( const char* ext, const char* desc, std::function<void(const char*)> callback );
bool SaveFile( const char* ext, const char* desc, std::function<void(const char*)> callback );
2022-10-05 20:50:17 +00:00
}
#endif