1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

User data directory location getter.

This commit is contained in:
Bartosz Taudul
2019-12-28 18:16:45 +01:00
parent 36942a5ddb
commit 9e76ddb9fd
3 changed files with 18 additions and 4 deletions
+2
View File
@@ -32,6 +32,8 @@ public:
void LoadAnnotations( std::vector<std::unique_ptr<Annotation>>& data );
void SaveAnnotations( const std::vector<std::unique_ptr<Annotation>>& data );
const char* GetConfigLocation() const;
private:
FILE* OpenFile( const char* filename, bool write );
void Remove( const char* filename );