BsWin32Platform.h 893 B

1234567891011121314151617181920212223242526272829
  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. /** @addtogroup Platform-Internal
  9. * @{
  10. */
  11. /**
  12. * Contains the main message loop.
  13. *
  14. * @note
  15. * This is separated from the main Platform because we don't want to include various Windows defines in a lot of our
  16. * code that includes "Platform.h".
  17. */
  18. class BS_CORE_EXPORT Win32Platform : public Platform
  19. {
  20. public:
  21. /** Main message loop callback that processes messages received from windows. */
  22. static LRESULT CALLBACK _win32WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  23. };
  24. /** @} */
  25. }