BsWin32Platform.h 572 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "BsPlatform.h"
  3. #include "BsWin32Defs.h"
  4. namespace BansheeEngine
  5. {
  6. /**
  7. * @brief Contains the main message loop
  8. *
  9. * @note This is separated from the main Platform because we don't want to include various Windows
  10. * defines in a lot of our code that includes "Platform.h".
  11. */
  12. class BS_CORE_EXPORT Win32Platform : public Platform
  13. {
  14. public:
  15. /**
  16. * @brief Main message loop callback that processes messages received from windows.
  17. */
  18. static LRESULT CALLBACK _win32WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  19. };
  20. }