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>2018-04-22 00:19:48 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2018-04-22 00:19:48 +0300
commit28380f2d25091ea4b2b406295be3d471a10cd3e4 (patch)
tree02cb3491dae514b521114ebd1c69171bebd37f33 /server/TracyBadVersion.hpp
parentea2be1bce98310ba7f8b7a70b4b5a5acb243779e (diff)
Move bad version dialogs to a separate file.
Diffstat (limited to 'server/TracyBadVersion.hpp')
-rw-r--r--server/TracyBadVersion.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/server/TracyBadVersion.hpp b/server/TracyBadVersion.hpp
new file mode 100644
index 00000000..608e865d
--- /dev/null
+++ b/server/TracyBadVersion.hpp
@@ -0,0 +1,18 @@
+#ifndef __TRACYBADVERSION_HPP__
+#define __TRACYBADVERSION_HPP__
+
+#include "../common/TracyForceInline.hpp"
+
+namespace tracy
+{
+
+namespace detail
+{
+void BadVersionImpl( int& badVer );
+}
+
+tracy_force_inline void BadVersion( int& badVer ) { if( badVer != 0 ) detail::BadVersionImpl( badVer ); }
+
+}
+
+#endif