Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TracyFileselector.hpp « server - github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5844aa1eafc7010e3d49cd18caa7807ef7531ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __TRACYFILESELECTOR_HPP__
#define __TRACYFILESELECTOR_HPP__

#include <functional>

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 );

}

#endif