summaryrefslogtreecommitdiffstats
path: root/Common/NativeApp/include/Win32
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-02-16 06:48:41 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-02-16 06:48:41 +0000
commite33d94fecd272db4bf542541c069e9e2c168c1d5 (patch)
treec4c33fe97b817ed67fc505059a6323336660311f /Common/NativeApp/include/Win32
parentUpdated samples (fixed linux/max build error) (diff)
downloadDiligentEngine-e33d94fecd272db4bf542541c069e9e2c168c1d5.tar.gz
DiligentEngine-e33d94fecd272db4bf542541c069e9e2c168c1d5.zip
Moved NativeApp to Diligent namespace
Diffstat (limited to 'Common/NativeApp/include/Win32')
-rw-r--r--Common/NativeApp/include/Win32/Win32AppBase.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/Common/NativeApp/include/Win32/Win32AppBase.h b/Common/NativeApp/include/Win32/Win32AppBase.h
index f5699b3..9999e15 100644
--- a/Common/NativeApp/include/Win32/Win32AppBase.h
+++ b/Common/NativeApp/include/Win32/Win32AppBase.h
@@ -30,9 +30,23 @@
#include "AppBase.h"
+namespace Diligent
+{
+
class Win32AppBase : public AppBase
{
public:
- virtual void OnWindowCreated(HWND hWnd, LONG WindowWidth, LONG WindowHeight) = 0;
- virtual LRESULT HandleWin32Message(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { return 0; }
+ virtual void OnWindowCreated(HWND hWnd,
+ LONG WindowWidth,
+ LONG WindowHeight) = 0;
+
+ virtual LRESULT HandleWin32Message(HWND hWnd,
+ UINT message,
+ WPARAM wParam,
+ LPARAM lParam)
+ {
+ return 0;
+ }
};
+
+}