From eaa60205cccef70740a2b732d7e95904d881d5db Mon Sep 17 00:00:00 2001 From: casey langen Date: Sat, 4 Feb 2017 01:50:34 -0800 Subject: [PATCH] Ramped SdkVersion and fixed musikwin example. --- src/core/sdk/constants.h | 2 +- src/musikwin/Main.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/sdk/constants.h b/src/core/sdk/constants.h index a16f45118..2ae3bddc4 100644 --- a/src/core/sdk/constants.h +++ b/src/core/sdk/constants.h @@ -78,5 +78,5 @@ namespace musik { ChannelSideRight = 256 }; - static const int SdkVersion = 2; + static const int SdkVersion = 3; } } } \ No newline at end of file diff --git a/src/musikwin/Main.cpp b/src/musikwin/Main.cpp index a7df526a5..74363761f 100644 --- a/src/musikwin/Main.cpp +++ b/src/musikwin/Main.cpp @@ -43,6 +43,7 @@ processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #include #include +#include #include #include @@ -60,6 +61,8 @@ using namespace musik::win; using namespace win32cpp; int APIENTRY _tWinMain(HINSTANCE instance, HINSTANCE previousInstance, LPTSTR commandLine, int showCommand) { + Preferences::LoadPluginPreferences(); + Application::Initialize(instance, previousInstance, commandLine, showCommand); Application& app = Application::Instance(); @@ -78,6 +81,7 @@ int APIENTRY _tWinMain(HINSTANCE instance, HINSTANCE previousInstance, LPTSTR co app.Run(mainWindow); + Preferences::SavePluginPreferences(); LibraryFactory::Instance().Shutdown(); return 0;