From 696e1b40b58ee1ef9340ceac02059abbe63f3120 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 9 Sep 2017 15:52:35 -0400 Subject: Common: Move version strings to their own header Ideally Common.h wouldn't be a header in the Common library, and instead be renamed to something else, like PlatformCompatibility.h or something, but even then, there's still some things in the header that don't really fall under that label This moves the version strings out to their own version header that doesn't dump a bunch of other unrelated things into scope, like what Common.h was doing. This also places them into the Common namespace, as opposed to letting them sit in the global namespace. --- Source/Core/DolphinWX/Frame.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/Frame.cpp') diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 4f350f3978..7800907a37 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -42,6 +42,7 @@ #include "Common/Logging/ConsoleListener.h" #include "Common/StringUtil.h" #include "Common/Thread.h" +#include "Common/Version.h" #include "Core/Config/GraphicsSettings.h" #include "Core/ConfigManager.h" @@ -758,7 +759,7 @@ void CFrame::UninhibitScreensaver() void CFrame::UpdateTitle(const wxString& str) { - const wxString revision_string = StrToWxStr(scm_rev_str); + const wxString revision_string = StrToWxStr(Common::scm_rev_str); if (SConfig::GetInstance().bRenderToMain && SConfig::GetInstance().m_InterfaceStatusbar) { GetStatusBar()->SetStatusText(str, 0); -- cgit v1.2.3