diff options
author | crupest <crupest@outlook.com> | 2019-03-31 17:14:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-03-31 17:14:47 +0800 |
commit | fbfd90255731954fb80483f4ba7188d3611fafec (patch) | |
tree | 8e3283c911d7aec76130d6a1dc7f5d8a85512b59 /src/ui/window_class.hpp | |
parent | 877f65e2e2c40eecc7cfeb194dc9d391af60711b (diff) | |
download | cru-fbfd90255731954fb80483f4ba7188d3611fafec.tar.gz cru-fbfd90255731954fb80483f4ba7188d3611fafec.tar.bz2 cru-fbfd90255731954fb80483f4ba7188d3611fafec.zip |
...
Diffstat (limited to 'src/ui/window_class.hpp')
-rw-r--r-- | src/ui/window_class.hpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ui/window_class.hpp b/src/ui/window_class.hpp deleted file mode 100644 index 72a7c431..00000000 --- a/src/ui/window_class.hpp +++ /dev/null @@ -1,26 +0,0 @@ -#pragma once -#include "pre.hpp" - -#include <Windows.h> - -#include "base.hpp" - -namespace cru::ui { -class WindowClass : public Object { - public: - WindowClass(const String& name, WNDPROC window_proc, HINSTANCE h_instance); - WindowClass(const WindowClass& other) = delete; - WindowClass(WindowClass&& other) = delete; - WindowClass& operator=(const WindowClass& other) = delete; - WindowClass& operator=(WindowClass&& other) = delete; - ~WindowClass() override = default; - - const wchar_t* GetName() const { return name_.c_str(); } - - ATOM GetAtom() const { return atom_; } - - private: - String name_; - ATOM atom_; -}; -} // namespace cru::ui |