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/AppBase.h | |
| 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/AppBase.h')
| -rw-r--r-- | Common/NativeApp/include/AppBase.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Common/NativeApp/include/AppBase.h b/Common/NativeApp/include/AppBase.h index fcadd74..e5c4b21 100644 --- a/Common/NativeApp/include/AppBase.h +++ b/Common/NativeApp/include/AppBase.h @@ -23,16 +23,20 @@ #pragma once +namespace Diligent +{ + class AppBase { public: virtual ~AppBase() {} - virtual void ProcessCommandLine(const char *CmdLine) = 0; + virtual void ProcessCommandLine(const char* CmdLine) = 0; virtual const char* GetAppTitle()const = 0; virtual void Update(double CurrTime, double ElapsedTime) {}; - virtual void Render() = 0; + virtual void Render() = 0; virtual void Present() = 0; virtual void WindowResize(int width, int height) = 0; }; +} |
