diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-28 20:45:22 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-28 20:45:22 +0300 |
commit | f37797db444f487629749af751c77a5d8d8ce7ae (patch) | |
tree | d959f03861150bbeb4ba50273962b61cc04a0953 /server/TracyUserData.hpp | |
parent | dc5444ff0f0e098e6b5b4f8b134fe6c925533c3b (diff) |
Save/load view state.
Diffstat (limited to 'server/TracyUserData.hpp')
-rw-r--r-- | server/TracyUserData.hpp | 4 |
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: |