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

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-08-28 20:45:22 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-28 20:45:22 +0300
commitf37797db444f487629749af751c77a5d8d8ce7ae (patch)
treed959f03861150bbeb4ba50273962b61cc04a0953 /server/TracyUserData.hpp
parentdc5444ff0f0e098e6b5b4f8b134fe6c925533c3b (diff)
Save/load view state.
Diffstat (limited to 'server/TracyUserData.hpp')
-rw-r--r--server/TracyUserData.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/TracyUserData.hpp b/server/TracyUserData.hpp
index 3bc07943..8e8450e6 100644
--- a/server/TracyUserData.hpp
+++ b/server/TracyUserData.hpp
@@ -8,6 +8,8 @@
namespace tracy
{
+struct ViewData;
+
class UserData
{
public:
@@ -20,6 +22,8 @@ public:
const std::string& GetDescription() const { return m_description; }
bool SetDescription( const char* description );
+ void LoadState( ViewData& data );
+ void SaveState( const ViewData& data );
void StateShouldBePreserved();
private: