diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-02-16 06:48:41 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-02-16 06:48:41 +0000 |
| commit | e33d94fecd272db4bf542541c069e9e2c168c1d5 (patch) | |
| tree | c4c33fe97b817ed67fc505059a6323336660311f /Common/NativeApp/include/Win32 | |
| parent | Updated samples (fixed linux/max build error) (diff) | |
| download | DiligentEngine-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.h | 18 |
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; + } }; + +} |
