BsWin32Platform.h 926 B

12345678910111213141516171819202122232425262728293031
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsPlatform.h"
  5. #include "BsWin32Defs.h"
  6. namespace BansheeEngine
  7. {
  8. /** @cond INTERNAL */
  9. /** @addtogroup Platform
  10. * @{
  11. */
  12. /**
  13. * Contains the main message loop.
  14. *
  15. * @note
  16. * This is separated from the main Platform because we don't want to include various Windows defines in a lot of our
  17. * code that includes "Platform.h".
  18. */
  19. class BS_CORE_EXPORT Win32Platform : public Platform
  20. {
  21. public:
  22. /** Main message loop callback that processes messages received from windows. */
  23. static LRESULT CALLBACK _win32WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  24. };
  25. /** @} */
  26. /** @endcond */
  27. }