diff options
author | Pär Björklund <per.bjorklund@gmail.com> | 2015-05-06 16:37:23 +0200 |
---|---|---|
committer | Pär Björklund <per.bjorklund@gmail.com> | 2015-07-15 18:43:55 +0200 |
commit | 9e9396b073ba973b2847896a11244a9f37ecbaff (patch) | |
tree | 6feb26cb18dc1df4c8bc089f93d17f825c62df47 /project/VS2010Express | |
parent | 753e2e819b8a3ed2ee4f9f71f77d03d13fa3a9f6 (diff) |
Clean up ApplicationMessenger
ApplicationMessenger had become a place to stick all kinds of convenience
methods and depending on just about everything. This PR cleans this up
and returns it back to a messaging class.
Removed the bool parameters and used naming from Win32 API with
SendMsg for blocking and PostMsg for non-blocking messaging.
Diffstat (limited to 'project/VS2010Express')
-rw-r--r-- | project/VS2010Express/XBMC.vcxproj | 6 | ||||
-rw-r--r-- | project/VS2010Express/XBMC.vcxproj.filters | 19 |
2 files changed, 20 insertions, 5 deletions
diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj index 4c61fd4c97..69aafb5c8c 100644 --- a/project/VS2010Express/XBMC.vcxproj +++ b/project/VS2010Express/XBMC.vcxproj @@ -204,7 +204,6 @@ <ClCompile Include="..\..\xbmc\addons\UISoundsResource.cpp" /> <ClCompile Include="..\..\xbmc\addons\Webinterface.cpp" /> <ClCompile Include="..\..\xbmc\Application.cpp" /> - <ClCompile Include="..\..\xbmc\ApplicationMessenger.cpp" /> <ClCompile Include="..\..\xbmc\ApplicationPlayer.cpp" /> <ClCompile Include="..\..\xbmc\AppParamParser.cpp" /> <ClCompile Include="..\..\xbmc\Autorun.cpp" /> @@ -604,6 +603,7 @@ </ClCompile> <ClCompile Include="..\..\xbmc\MediaSource.cpp" /> <ClCompile Include="..\..\xbmc\media\MediaType.cpp" /> + <ClCompile Include="..\..\xbmc\messaging\ApplicationMessenger.cpp" /> <ClCompile Include="..\..\xbmc\music\Album.cpp" /> <ClCompile Include="..\..\xbmc\music\Artist.cpp" /> <ClCompile Include="..\..\xbmc\music\CueInfoLoader.cpp" /> @@ -994,6 +994,9 @@ <ClInclude Include="..\..\xbmc\interfaces\python\pythreadstate.h" /> <ClInclude Include="..\..\xbmc\main\win32\MessagePrinter.h" /> <ClInclude Include="..\..\xbmc\media\MediaType.h" /> + <ClInclude Include="..\..\xbmc\messaging\ApplicationMessenger.h" /> + <ClInclude Include="..\..\xbmc\messaging\IMessageTarget.h" /> + <ClInclude Include="..\..\xbmc\messaging\ThreadMessage.h" /> <ClInclude Include="..\..\xbmc\music\CueInfoLoader.h" /> <ClInclude Include="..\..\xbmc\music\EmbeddedArt.h" /> <ClInclude Include="..\..\xbmc\music\karaoke\karaokevideobackground.h" /> @@ -1700,7 +1703,6 @@ <ClInclude Include="..\..\xbmc\addons\Service.h" /> <ClInclude Include="..\..\xbmc\addons\Skin.h" /> <ClInclude Include="..\..\xbmc\Application.h" /> - <ClInclude Include="..\..\xbmc\ApplicationMessenger.h" /> <ClInclude Include="..\..\xbmc\Autorun.h" /> <ClInclude Include="..\..\xbmc\AutoSwitch.h" /> <ClInclude Include="..\..\xbmc\BackgroundInfoLoader.h" /> diff --git a/project/VS2010Express/XBMC.vcxproj.filters b/project/VS2010Express/XBMC.vcxproj.filters index eb3d565e97..4a7dce5fba 100644 --- a/project/VS2010Express/XBMC.vcxproj.filters +++ b/project/VS2010Express/XBMC.vcxproj.filters @@ -352,6 +352,9 @@ <Filter Include="main\win32"> <UniqueIdentifier>{b2cf6073-0796-485b-a2f8-0b54851262b3}</UniqueIdentifier> </Filter> + <Filter Include="messaging"> + <UniqueIdentifier>{378b3a72-20d2-4482-8dbb-91f041290ceb}</UniqueIdentifier> + </Filter> </ItemGroup> <ItemGroup> <ClCompile Include="..\..\xbmc\win32\pch.cpp"> @@ -2217,7 +2220,6 @@ <ClCompile Include="..\..\xbmc\utils\Screenshot.cpp"> <Filter>utils</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\ApplicationMessenger.cpp" /> <ClCompile Include="..\..\xbmc\Autorun.cpp" /> <ClCompile Include="..\..\xbmc\AutoSwitch.cpp" /> <ClCompile Include="..\..\xbmc\DynamicDll.cpp" /> @@ -3111,6 +3113,9 @@ <ClCompile Include="..\..\xbmc\main\win32\MessagePrinter.cpp"> <Filter>main\win32</Filter> </ClCompile> + <ClCompile Include="..\..\xbmc\messaging\ApplicationMessenger.cpp"> + <Filter>messaging</Filter> + </ClCompile> </ItemGroup> <ItemGroup> <ClInclude Include="..\..\xbmc\win32\pch.h"> @@ -5201,7 +5206,6 @@ <ClInclude Include="..\..\xbmc\video\VideoDatabase.h"> <Filter>video</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\ApplicationMessenger.h" /> <ClInclude Include="..\..\xbmc\Autorun.h" /> <ClInclude Include="..\..\xbmc\AutoSwitch.h" /> <ClInclude Include="..\..\xbmc\DynamicDll.h" /> @@ -5947,7 +5951,7 @@ <ClInclude Include="..\..\xbmc\addons\LanguageResource.h"> <Filter>addons</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\addons\UISoundsResource.h"> + <ClInclude Include="..\..\xbmc\addons\UISoundsResource.h"> <Filter>addons</Filter> </ClInclude> <ClInclude Include="..\..\xbmc\filesystem\ResourceFile.h"> @@ -6007,6 +6011,15 @@ <ClInclude Include="..\..\xbmc\main\win32\MessagePrinter.h"> <Filter>main\win32</Filter> </ClInclude> + <ClInclude Include="..\..\xbmc\messaging\ApplicationMessenger.h"> + <Filter>messaging</Filter> + </ClInclude> + <ClInclude Include="..\..\xbmc\messaging\ThreadMessage.h"> + <Filter>messaging</Filter> + </ClInclude> + <ClInclude Include="..\..\xbmc\messaging\IMessageTarget.h"> + <Filter>messaging</Filter> + </ClInclude> </ItemGroup> <ItemGroup> <ResourceCompile Include="..\..\xbmc\win32\XBMC_PC.rc"> |